mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 12:48:26 +08:00
py2llvm: run passes before creating EE
This commit is contained in:
parent
15dcf3351b
commit
dddc9259b0
@ -24,6 +24,7 @@ class Module:
|
||||
pass_manager.run(self.llvm_module)
|
||||
|
||||
def get_ee(self):
|
||||
self.finalize()
|
||||
return le.ExecutionEngine.new(self.llvm_module)
|
||||
|
||||
def emit_object(self):
|
||||
|
Loading…
Reference in New Issue
Block a user