[pypy-svn] r76212 - pypy/branch/fast-ctypes/pypy/rlib

getxsick at codespeak.net getxsick at codespeak.net
Wed Jul 14 20:04:13 CEST 2010


Author: getxsick
Date: Wed Jul 14 20:04:10 2010
New Revision: 76212

Modified:
   pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py
Log:
push_funcaddr is equivalent push_int


Modified: pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py
==============================================================================
--- pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py	(original)
+++ pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py	Wed Jul 14 20:04:10 2010
@@ -114,13 +114,10 @@
         self.esp = 0
         self.push_funcaddr(self.funcaddr)
 
-    def push_funcaddr(self, value):
-        self.cpu.set_future_value_int(self.esp, value)
-        self.esp += 1
-
     def push_int(self, value):
         self.cpu.set_future_value_int(self.esp, value)
         self.esp += 1
+    push_funcaddr = push_int
 
     def push_float(self, value):
         self.cpu.set_future_value_float(self.esp, value)



More information about the Pypy-commit mailing list