[pypy-commit] pypy jitframe-on-heap: add types

fijal noreply at buildbot.pypy.org
Wed Feb 20 10:52:15 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r61490:13c993c618c1
Date: 2013-02-20 11:51 +0200
http://bitbucket.org/pypy/pypy/changeset/13c993c618c1/

Log:	add types

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
@@ -338,8 +338,8 @@
             else:
                 mc.MOV_rr(edi.value, ebp.value)
                 exc0, exc1 = ebx, r12
-            mc.MOV(RawEspLoc(WORD * 5), exc0)
-            mc.MOV(RawEspLoc(WORD * 6), exc1)
+            mc.MOV(RawEspLoc(WORD * 5, REF), exc0)
+            mc.MOV(RawEspLoc(WORD * 6, INT), exc1)
             # note that it's save to store the exception in register,
             # since the call to write barrier can't collect
             # (and this is assumed a bit left and right here, like lack
@@ -372,8 +372,8 @@
             mc.MOVSD_xs(xmm0.value, 3 * WORD)
             mc.MOV_rs(eax.value, WORD) # restore
             self._restore_exception(mc, exc0, exc1)
-            mc.MOV(exc0, RawEspLoc(WORD * 5))
-            mc.MOV(exc1, RawEspLoc(WORD * 6))
+            mc.MOV(exc0, RawEspLoc(WORD * 5, REF))
+            mc.MOV(exc1, RawEspLoc(WORD * 6, INT))
             mc.LEA_rs(esp.value, 10 * WORD)
             mc.RET()
 


More information about the pypy-commit mailing list