[pypy-svn] r53277 - in pypy/branch/jit-hotpath/pypy/jit/codegen/ia32: . test
fijal at codespeak.net
fijal at codespeak.net
Thu Apr 3 08:48:47 CEST 2008
Author: fijal
Date: Thu Apr 3 08:48:47 2008
New Revision: 53277
Modified:
pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py
pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py
Log:
support for address in function arguments. Still frame access left
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 Thu Apr 3 08:48:47 2008
@@ -45,15 +45,19 @@
repr = __repr__
class IntVar(Var):
+ ll_type = lltype.Signed
+ token = 'i'
+ SIZE = 1
+
def operand(self, builder):
return builder.stack_access(self.stackpos)
def newvar(self, builder):
return builder.returnintvar(self.operand(builder))
- ll_type = lltype.Signed
- token = 'i'
- SIZE = 1
+class AddressVar(IntVar):
+ ll_type = llmemory.Address
+ token = 'a'
class BoolVar(Var):
# represents a boolean as an integer which *must* be exactly 0 or 1
Modified: pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py (original)
+++ pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py Thu Apr 3 08:48:47 2008
@@ -20,12 +20,8 @@
test_write_lots_of_frame_places_direct = skipped
test_read_frame_place_direct = skipped
test_frame_vars_like_the_frontend_direct = skipped
-
- # lltype.Address in function arguments
test_demo_f1_direct = skipped
- # float stack remap
-
class TestRI386GenopCompile(AbstractRGenOpTestsCompile):
RGenOp = RI386GenOp
from pypy.jit.codegen.ia32.test.test_operation import RGenOpPacked
More information about the pypy-svn
mailing list