[pypy-svn] r53502 - pypy/branch/jit-hotpath/pypy/jit/codegen/ia32

fijal at codespeak.net fijal at codespeak.net
Mon Apr 7 05:55:13 CEST 2008


Author: fijal
Date: Mon Apr  7 05:55:12 2008
New Revision: 53502

Modified:
   pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py
Log:
Be more precise (and make annotator happier)


Modified: pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py	Mon Apr  7 05:55:12 2008
@@ -1196,7 +1196,8 @@
     
     def __init__(self):
         self.mcs = []   # machine code blocks where no-one is currently writing
-        self.keepalive_gc_refs = [] 
+        self.keepalive_gc_refs = []
+        self.keepalive_float_consts = []
         self.total_code_blocks = 0
 
     def open_mc(self):
@@ -1271,7 +1272,7 @@
             return BoolConst(llvalue)
         elif T is lltype.Float:
             res = FloatConst(llvalue)
-            self.keepalive_gc_refs.append(res)
+            self.keepalive_float_consts.append(res)
             return res
         elif isinstance(T, lltype.Ptr):
             lladdr = llmemory.cast_ptr_to_adr(llvalue)



More information about the Pypy-commit mailing list