[pypy-svn] r67786 - pypy/trunk/pypy/translator/c

afa at codespeak.net afa at codespeak.net
Sat Sep 19 01:24:39 CEST 2009


Author: afa
Date: Sat Sep 19 01:24:39 2009
New Revision: 67786

Modified:
   pypy/trunk/pypy/translator/c/gc.py
Log:
oops, correctly emit the OP_GC_STACK_BOTTOM operation


Modified: pypy/trunk/pypy/translator/c/gc.py
==============================================================================
--- pypy/trunk/pypy/translator/c/gc.py	(original)
+++ pypy/trunk/pypy/translator/c/gc.py	Sat Sep 19 01:24:39 2009
@@ -328,8 +328,8 @@
     def GC_KEEPALIVE(self, funcgen, v):
         return 'pypy_asm_keepalive(%s);' % funcgen.expr(v)
 
-    def OP_GC_STACK_BOTTOM(self, funcgen, v):
-        return 'pypy_asm_stack_bottom(%s);'  % funcgen.expr(v)
+    def OP_GC_STACK_BOTTOM(self, funcgen, op):
+        return 'pypy_asm_stack_bottom(%s);'  % funcgen.expr(op.result)
 
 
 name_to_gcpolicy = {



More information about the Pypy-commit mailing list