[pypy-commit] pypy ppc-jit-backend: store the correct register here

bivab noreply at buildbot.pypy.org
Tue Feb 21 11:06:10 CET 2012


Author: David Schneider <david.schneider at picle.org>
Branch: ppc-jit-backend
Changeset: r52716:6debfbeeb8b8
Date: 2012-02-21 01:39 -0800
http://bitbucket.org/pypy/pypy/changeset/6debfbeeb8b8/

Log:	store the correct register here

diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppc_assembler.py
@@ -1017,7 +1017,7 @@
         
         with scratch_reg(self.mc):
             self.mc.load_imm(r.SCRATCH, nursery_free_adr)
-            self.mc.storex(r.r1.value, 0, r.SCRATCH.value)
+            self.mc.storex(r.r4.value, 0, r.SCRATCH.value)
 
     def mark_gc_roots(self, force_index, use_copy_area=False):
         if force_index < 0:


More information about the pypy-commit mailing list