[pypy-commit] pypy win64-stage1: some cleanups and removals

ctismer noreply at buildbot.pypy.org
Thu Mar 15 04:20:08 CET 2012


Author: Christian Tismer <tismer at stackless.com>
Branch: win64-stage1
Changeset: r53651:9f4f3c2e7c1e
Date: 2012-03-14 20:19 -0700
http://bitbucket.org/pypy/pypy/changeset/9f4f3c2e7c1e/

Log:	some cleanups and removals

diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -390,7 +390,7 @@
             after()
 
     _NOARG_FUNC = lltype.Ptr(lltype.FuncType([], lltype.Void))
-    _CLOSESTACK_FUNC = lltype.Ptr(lltype.FuncType([rffi.SIGNEDP],
+    _CLOSESTACK_FUNC = lltype.Ptr(lltype.FuncType([rffi.LONGP],
                                                   lltype.Void))
 
     def _build_release_gil(self, gcrootmap):
@@ -1845,10 +1845,10 @@
                     code = ~code
                     code_inputarg = False
                 stackloc = frame_addr + get_ebp_ofs(code)
-                value = rffi.cast(rffi.SIGNEDP, stackloc)[0]
+                value = rffi.cast(rffi.LONGP, stackloc)[0]
                 if kind == self.DESCR_FLOAT and WORD == 4:
                     value_hi = value
-                    value = rffi.cast(rffi.SIGNEDP, stackloc - 4)[0]
+                    value = rffi.cast(rffi.LONGP, stackloc - 4)[0]
             else:
                 # 'code' identifies a register: load its value
                 kind = code & 3
@@ -1879,10 +1879,10 @@
             elif kind == self.DESCR_FLOAT:
                 tgt = self.fail_boxes_float.get_addr_for_num(num)
                 if WORD == 4:
-                    rffi.cast(rffi.SIGNEDP, tgt)[1] = value_hi
+                    rffi.cast(rffi.LONGP, tgt)[1] = value_hi
             else:
                 assert 0, "bogus kind"
-            rffi.cast(rffi.SIGNEDP, tgt)[0] = value
+            rffi.cast(rffi.LONGP, tgt)[0] = value
             num += 1
         #
         if not we_are_translated():
@@ -1908,7 +1908,7 @@
         self.failure_recovery_func = failure_recovery_func
         self.failure_recovery_code = [0, 0, 0, 0]
 
-    _FAILURE_RECOVERY_FUNC = lltype.Ptr(lltype.FuncType([rffi.SIGNEDP],
+    _FAILURE_RECOVERY_FUNC = lltype.Ptr(lltype.FuncType([rffi.LONGP],
                                                         lltype.Signed))
 
     def _build_failure_recovery(self, exc, withfloats=False):


More information about the pypy-commit mailing list