Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r60591:540f951e15e4
Date: 2013-01-28 11:07 +0200
http://bitbucket.org/pypy/pypy/changeset/540f951e15e4/

Log:    fix never-executed-so-far path

diff --git a/rpython/jit/backend/x86/assembler.py 
b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -2304,7 +2304,7 @@
             fielddescr = jd.vable_token_descr
             assert isinstance(fielddescr, FieldDescr)
             vtoken_ofs = fielddescr.offset
-            vable_ofs = (jd.index_of_virtualizable + JITFRAME_FIXED_SIZE) * 
WORD
+            vable_ofs = base_ofs + (jd.index_of_virtualizable + 
JITFRAME_FIXED_SIZE) * WORD
             self.mc.MOV_rm(edx.value, (eax.value, vable_ofs))
             self.mc.MOV_mi((edx.value, vtoken_ofs), 0)
             # in the line above, TOKEN_NONE = 0
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to