Author: David Schneider <[email protected]>
Branch: ppc-jit-backend
Changeset: r56400:5b454f898b8e
Date: 2012-07-23 01:16 -0700
http://bitbucket.org/pypy/pypy/changeset/5b454f898b8e/

Log:    fix for _emit_call where the address is stored on the stack

diff --git a/pypy/jit/backend/ppc/opassembler.py 
b/pypy/jit/backend/ppc/opassembler.py
--- a/pypy/jit/backend/ppc/opassembler.py
+++ b/pypy/jit/backend/ppc/opassembler.py
@@ -545,7 +545,7 @@
         if adr.is_imm():
             self.mc.call(adr.value)
         elif adr.is_stack():
-            self.mc.load_from_addr(r.SCRATCH, adr)
+            self.regalloc_mov(adr, r.SCRATCH)
             self.mc.call_register(r.SCRATCH)
         elif adr.is_reg():
             self.mc.call_register(adr)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to