Author: Maciej Fijalkowski <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to