[pypy-commit] pypy string-promote-2: explain
fijal
noreply at buildbot.pypy.org
Wed Oct 12 00:34:13 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
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)
More information about the pypy-commit
mailing list