[pypy-svn] r53490 - pypy/branch/jit-hotpath/pypy/rpython/lltypesystem

fijal at codespeak.net fijal at codespeak.net
Mon Apr 7 02:28:07 CEST 2008


Author: fijal
Date: Mon Apr  7 02:28:07 2008
New Revision: 53490

Modified:
   pypy/branch/jit-hotpath/pypy/rpython/lltypesystem/llmemory.py
Log:
Port address.float[] change from trunk


Modified: pypy/branch/jit-hotpath/pypy/rpython/lltypesystem/llmemory.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/rpython/lltypesystem/llmemory.py	(original)
+++ pypy/branch/jit-hotpath/pypy/rpython/lltypesystem/llmemory.py	Mon Apr  7 02:28:07 2008
@@ -456,6 +456,9 @@
 class _char_fakeaccessor(_fakeaccessor):
     TYPE = lltype.Char
 
+class _float_fakeaccessor(_fakeaccessor):
+    TYPE = lltype.Float
+
 class _address_fakeaccessor(_fakeaccessor):
     TYPE = Address
 
@@ -482,10 +485,12 @@
                           "unsigned":  lltype.Unsigned,
                           "char":      lltype.Char,
                           "address":   Address,
+                          "float":     lltype.Float,
                           }
 
 fakeaddress.signed = property(_signed_fakeaccessor)
 fakeaddress.char = property(_char_fakeaccessor)
+fakeaddress.float = property(_float_fakeaccessor)
 fakeaddress.address = property(_address_fakeaccessor)
 fakeaddress._TYPE = Address
 



More information about the Pypy-commit mailing list