Author: Ronan Lamy <[email protected]>
Branch: framestate
Changeset: r75802:80fb13c783c8
Date: 2015-02-08 19:48 +0000
http://bitbucket.org/pypy/pypy/changeset/80fb13c783c8/
Log: Fix Return.nomoreblocks()
diff --git a/rpython/flowspace/flowcontext.py b/rpython/flowspace/flowcontext.py
--- a/rpython/flowspace/flowcontext.py
+++ b/rpython/flowspace/flowcontext.py
@@ -1040,6 +1040,7 @@
w_result = self.w_value
link = Link([w_result], ctx.graph.returnblock)
ctx.recorder.crnt_block.closeblock(link)
+ raise StopFlowing
@property
def args(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit