2
0
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:
Sebastien Bourdeauducq 2014-09-07 14:47:09 +08:00
parent 15dcf3351b
commit dddc9259b0

View File

@ -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):