Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: jitframe-on-heap
Changeset: r60279:8429de3e7fa8
Date: 2013-01-21 11:05 +0200
http://bitbucket.org/pypy/pypy/changeset/8429de3e7fa8/

Log:    opops

diff --git a/rpython/jit/backend/llsupport/gc.py 
b/rpython/jit/backend/llsupport/gc.py
--- a/rpython/jit/backend/llsupport/gc.py
+++ b/rpython/jit/backend/llsupport/gc.py
@@ -102,8 +102,9 @@
                 rgc._make_sure_does_not_move(p)
                 gcrefs_output_list.append(p)
         if op.is_guard() or op.getopnum() == rop.FINISH:
-            rgc._make_sure_does_not_move(cast_instance_to_gcref(op.getdescr()))
-            gcrefs_output_list.append(op.getdescr())
+            llref = cast_instance_to_gcref(op.getdescr())
+            rgc._make_sure_does_not_move(llref)
+            gcrefs_output_list.append(llref)
 
     def rewrite_assembler(self, cpu, operations, gcrefs_output_list):
         rewriter = GcRewriterAssembler(self, cpu)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to