[pypy-commit] pypy jitframe-on-heap: finish fix

fijal noreply at buildbot.pypy.org
Sun Feb 10 15:21:23 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r61044:1b13505c17e9
Date: 2013-02-10 16:20 +0200
http://bitbucket.org/pypy/pypy/changeset/1b13505c17e9/

Log:	finish fix

diff --git a/rpython/jit/backend/x86/regloc.py b/rpython/jit/backend/x86/regloc.py
--- a/rpython/jit/backend/x86/regloc.py
+++ b/rpython/jit/backend/x86/regloc.py
@@ -70,6 +70,9 @@
     def is_float(self):
         return self.type == FLOAT
 
+    def add_offset(self, ofs):
+        return RawStackLoc(self.value + ofs)
+
 class RawEspLoc(AssemblerLocation):
     """ Esp-based location
     """


More information about the pypy-commit mailing list