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

fijal noreply at buildbot.pypy.org
Mon Jan 21 10:42:30 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r60289:bc3bbf5d8db6
Date: 2013-01-21 11:42 +0200
http://bitbucket.org/pypy/pypy/changeset/bc3bbf5d8db6/

Log:	fix

diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -198,7 +198,7 @@
         mc.SUB_rr(edi.value, eax.value)       # compute the size we want
         assert not IS_X86_32
         # the arg is already in edi
-        if getattr(self.cpu.gc_ll_descr, 'passes_frame'):
+        if hasattr(self.cpu.gc_ll_descr, 'passes_frame'):
             base_ofs = self.cpu.get_baseofs_of_frame_field()
             mc.LEA_rb(esi.value, -base_ofs)
         mc.SUB_ri(esp.value, 16 - WORD)


More information about the pypy-commit mailing list