forked from M-Labs/artiq
1
0
Fork 0

devices/runtime: minor cleanup

This commit is contained in:
Sebastien Bourdeauducq 2014-09-05 21:51:58 +08:00
parent 66af70bfe0
commit ef1f8787dc
1 changed files with 7 additions and 6 deletions

View File

@ -76,4 +76,5 @@ class Environment(LinkInterface):
def emit_object(self): def emit_object(self):
tm = lt.TargetMachine.new(triple="or1k", cpu="generic") tm = lt.TargetMachine.new(triple="or1k", cpu="generic")
return tm.emit_object(self.module) obj = tm.emit_object(self.module)
return obj