Author: Maciej Fijalkowski <[email protected]>
Branch: string-promote-2
Changeset: r47957:944836e6101d
Date: 2011-10-12 00:34 +0200
http://bitbucket.org/pypy/pypy/changeset/944836e6101d/
Log: explain
diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py
--- a/pypy/jit/metainterp/pyjitpl.py
+++ b/pypy/jit/metainterp/pyjitpl.py
@@ -904,6 +904,8 @@
constbox = box.constbox()
resbox = self.do_residual_call(funcbox, descr, [box, constbox])
promoted_box = resbox.constbox()
+ # This is GUARD_VALUE because GUARD_TRUE assumes the existance
+ # of a label when computing resumepc
self.generate_guard(rop.GUARD_VALUE, resbox, [promoted_box],
resumepc=orgpc)
self.metainterp.replace_box(box, constbox)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit