[pypy-svn] r65347 - in pypy/branch/pyjitpl5/pypy/jit/backend/cli: . test
antocuni at codespeak.net
antocuni at codespeak.net
Thu May 21 14:05:48 CEST 2009
Author: antocuni
Date: Thu May 21 14:05:47 2009
New Revision: 65347
Added:
pypy/branch/pyjitpl5/pypy/jit/backend/cli/test/test_zrpy_vlist.py (contents, props changed)
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/cli/method.py
Log:
implement emit_op_new_arry to make almost all these tests passing
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/cli/method.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/cli/method.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/cli/method.py Thu May 21 14:05:47 2009
@@ -504,13 +504,12 @@
self.store_result(op)
def emit_op_new_array(self, op):
- raise NotImplementedError
-## descr = op.descr
-## assert isinstance(descr, runner.TypeDescr)
-## item_clitype = descr.get_clitype()
-## op.args[0].load(self)
-## self.il.Emit(OpCodes.Newarr, item_clitype)
-## self.store_result(op)
+ descr = op.descr
+ assert isinstance(descr, runner.TypeDescr)
+ item_clitype = descr.get_clitype()
+ op.args[0].load(self)
+ self.il.Emit(OpCodes.Newarr, item_clitype)
+ self.store_result(op)
def emit_op_guard_nonvirtualized(self, op):
raise NotImplementedError
Added: pypy/branch/pyjitpl5/pypy/jit/backend/cli/test/test_zrpy_vlist.py
==============================================================================
--- (empty file)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/cli/test/test_zrpy_vlist.py Thu May 21 14:05:47 2009
@@ -0,0 +1,13 @@
+import py
+from pypy.jit.backend.cli.test.test_zrpy_basic import CliTranslatedJitMixin
+from pypy.jit.metainterp.test import test_vlist
+
+
+class TestVList(CliTranslatedJitMixin, test_vlist.TestOOtype):
+ # for the individual tests see
+ # ====> ../../../metainterp/test/test_vlist.py
+
+ def skip(self):
+ py.test.skip('in-progress')
+
+ test_ll_fixed_setitem_fast = skip
More information about the Pypy-commit
mailing list