[pypy-svn] r65116 - in pypy/branch/pyjitpl5/pypy/jit/backend/cli: . test
antocuni at codespeak.net
antocuni at codespeak.net
Wed May 6 20:15:01 CEST 2009
Author: antocuni
Date: Wed May 6 20:15:01 2009
New Revision: 65116
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/cli/method.py
pypy/branch/pyjitpl5/pypy/jit/backend/cli/runner.py
pypy/branch/pyjitpl5/pypy/jit/backend/cli/test/test_basic.py
Log:
fix or skip new test_basic tests
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 Wed May 6 20:15:01 2009
@@ -323,6 +323,9 @@
cls = ootype.cast_from_object(ootype.Class, op.args[0].getobj())
raise NotImplementedError # XXX finish me
+ def emit_op_ooidentityhash(self, op):
+ raise NotImplementedError
+
def emit_op_call(self, op):
raise NotImplementedError
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/cli/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/cli/runner.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/cli/runner.py Wed May 6 20:15:01 2009
@@ -107,6 +107,11 @@
res = ootype.runtimenew(classobj)
return BoxObj(ootype.cast_to_object(res))
+ def do_instanceof(self, args, typedescr):
+ assert isinstance(typedescr, TypeDescr)
+ assert len(args) == 1
+ return typedescr.instanceof(args[0])
+
def do_getfield_gc(self, args, fielddescr):
assert isinstance(fielddescr, FieldDescr)
return fielddescr.getfield(args[0])
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/cli/test/test_basic.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/cli/test/test_basic.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/cli/test/test_basic.py Wed May 6 20:15:01 2009
@@ -28,6 +28,9 @@
test_bridge_from_interpreter_3 = skip
test_instantiate_classes = skip
test_zerodivisionerror = skip
+ test_isinstance = skip
+ test_oois = skip
+ test_oostring_instance = skip
test_stopatxpolicy = _skip
test_bridge_from_interpreter = _skip
More information about the Pypy-commit
mailing list