forked from M-Labs/artiq
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