[pypy-svn] r53288 - in pypy/branch/jit-hotpath/pypy/jit/codegen/ia32: . test
fijal at codespeak.net
fijal at codespeak.net
Thu Apr 3 20:19:46 CEST 2008
Author: fijal
Date: Thu Apr 3 20:19:45 2008
New Revision: 53288
Modified:
pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py
pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py
Log:
another one
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 20:19:45 2008
@@ -1459,7 +1459,11 @@
@staticmethod
def genconst_from_frame_var(kind, base, info, index):
- xxx
+ # eh, kind here should be "what we're looking for?"
+ v = info[index]
+ if isinstance(v, GenConst):
+ return
+ return IntConst(peek_word_at(base + v.stackpos + 1))
global_rgenop = RI386GenOp()
RI386GenOp.constPrebuiltGlobal = global_rgenop.genconst
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 20:19:45 2008
@@ -14,7 +14,6 @@
py.test.skip("unsupported")
# frame access related
- test_genconst_from_frame_var_direct = skipped
test_write_frame_place_direct = skipped
test_write_lots_of_frame_places_direct = skipped
test_read_frame_place_direct = skipped
More information about the Pypy-commit
mailing list