[pypy-svn] r75600 - pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86

jcreigh at codespeak.net jcreigh at codespeak.net
Fri Jun 25 17:09:52 CEST 2010


Author: jcreigh
Date: Fri Jun 25 17:09:50 2010
New Revision: 75600

Modified:
   pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86/rx86.py
Log:
kill rx86 CALL_i (handled in regloc)

Modified: pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86/rx86.py
==============================================================================
--- pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86/rx86.py	(original)
+++ pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86/rx86.py	Fri Jun 25 17:09:50 2010
@@ -483,9 +483,6 @@
     CALL_r = insn(rex_nw, '\xFF', register(1), chr(0xC0 | (2<<3)))
     CALL_b = insn('\xFF', orbyte(2<<3), stack_bp(1))
 
-    def CALL_i(self, addr):
-        self.CALL_l(addr)
-
     # XXX: Only here for testing purposes..."as" happens the encode the
     # registers in the opposite order that we would otherwise do in a
     # register-register exchange
@@ -552,11 +549,6 @@
     CMP_ji = select_8_or_32_bit_immed(CMP_ji8, CMP_ji32)
     CMP_rj = insn(rex_w, '\x3B', register(1, 8), '\x05', immediate(2))
 
-    # XXX: Bit of kludge, but works in 32-bit because the relative 32-bit
-    # displacement is always enough to encode any address
-    CALL_i = AbstractX86CodeBuilder.CALL_l
-
-
 class X86_64_CodeBuilder(AbstractX86CodeBuilder):
     WORD = 8
 



More information about the Pypy-commit mailing list