[pypy-svn] pypy default: Fix on 64-bits.

arigo commits-noreply at bitbucket.org
Sun Apr 3 18:37:08 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r43125:b5d5b0a4fac6
Date: 2011-04-03 18:33 +0200
http://bitbucket.org/pypy/pypy/changeset/b5d5b0a4fac6/

Log:	Fix on 64-bits.

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
@@ -951,7 +951,7 @@
 
     def _emit_call(self, force_index, x, arglocs, start=0, tmp=eax):
         if IS_X86_64:
-            return self._emit_call_64(x, arglocs, start)
+            return self._emit_call_64(force_index, x, arglocs, start)
 
         p = 0
         n = len(arglocs)
@@ -979,7 +979,7 @@
         self.mc.CALL(x)
         self.mark_gc_roots(force_index)
 
-    def _emit_call_64(self, force_index, x, arglocs, start=0):
+    def _emit_call_64(self, force_index, x, arglocs, start):
         src_locs = []
         dst_locs = []
         xmm_src_locs = []


More information about the Pypy-commit mailing list