forked from M-Labs/artiq
parent
929b04da59
commit
e23ed15464
|
@ -853,8 +853,8 @@ class ARTIQIRGenerator(algorithm.Visitor):
|
||||||
self.current_assign = None
|
self.current_assign = None
|
||||||
|
|
||||||
none = self.append(ir.Alloc([], builtins.TNone()))
|
none = self.append(ir.Alloc([], builtins.TNone()))
|
||||||
cleanup.append(lambda:
|
call = self._user_call(exit_fn, [none, none, none], {})
|
||||||
self._user_call(exit_fn, [none, none, none], {}))
|
cleanup.append(lambda: call)
|
||||||
|
|
||||||
self._try_finally(
|
self._try_finally(
|
||||||
body_gen=lambda: self.visit(node.body),
|
body_gen=lambda: self.visit(node.body),
|
||||||
|
|
Loading…
Reference in New Issue