Author: Alex Gaynor <[email protected]>
Branch: python-loop-unroll
Changeset: r64650:df2479716baa
Date: 2013-05-28 15:31 -0700
http://bitbucket.org/pypy/pypy/changeset/df2479716baa/

Log:    this is no longer totally immutable

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -1249,7 +1249,7 @@
 class LoopBlock(FrameBlock):
     """A loop block.  Stores the end-of-loop pointer in case of 'break'."""
 
-    _immutable_ = True
+    _immutable_fields_ = ["handlerposition", "valuestackdepth", "previous"]
     _opname = 'SETUP_LOOP'
     handling_mask = SBreakLoop.kind | SContinueLoop.kind
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to