[pypy-svn] r65529 - pypy/branch/pyjitpl5-experiments/pypy/rpython/memory/gctransform

arigo at codespeak.net arigo at codespeak.net
Mon Jun 1 18:30:15 CEST 2009


Author: arigo
Date: Mon Jun  1 18:30:14 2009
New Revision: 65529

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/rpython/memory/gctransform/framework.py
Log:
Fix.  (I know I should write tests for this directly...)


Modified: pypy/branch/pyjitpl5-experiments/pypy/rpython/memory/gctransform/framework.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/rpython/memory/gctransform/framework.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/rpython/memory/gctransform/framework.py	Mon Jun  1 18:30:14 2009
@@ -616,11 +616,8 @@
 
     def gct_get_write_barrier_failing_case(self, hop):
         op = hop.spaceop
-        c_result = rmodel.inputconst(
-            lltype.typeOf(self.write_barrier_failing_case_ptr),
-            self.write_barrier_failing_case_ptr)
         hop.genop("same_as",
-                  [c_result],
+                  [self.write_barrier_failing_case_ptr],
                   resultvar=op.result)
 
     def gct_zero_gc_pointers_inside(self, hop):



More information about the Pypy-commit mailing list