[pypy-commit] pypy jitframe-on-heap: fix RPython
fijal
noreply at buildbot.pypy.org
Mon Feb 4 11:36:19 CET 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r60865:3c3d5eecdffd
Date: 2013-02-04 12:35 +0200
http://bitbucket.org/pypy/pypy/changeset/3c3d5eecdffd/
Log: fix RPython
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
@@ -70,6 +70,7 @@
if isinstance(loc, RegLoc):
val = gpr_reg_mgr_cls.all_reg_indexes[loc.value]
else:
+ assert isinstance(loc, StackLoc)
val = loc.position + JITFRAME_FIXED_SIZE
gcmap[val // WORD // 8] |= r_uint(1) << (val % (WORD * 8))
return gcmap
More information about the pypy-commit
mailing list