mirror of https://github.com/m-labs/artiq.git
Revert "fixes with statement with multiple items"
This reverts commit 88d346fa26
.
This commit is contained in:
parent
8e46c3c1fd
commit
eda4850f64
|
@ -878,8 +878,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()))
|
||||||
call = self._user_call(exit_fn, [none, none, none], {})
|
cleanup.append(lambda:
|
||||||
cleanup.append(lambda: call)
|
self._user_call(exit_fn, [none, none, none], {}))
|
||||||
|
|
||||||
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