[pypy-svn] r57724 - in pypy/branch/oo-jit/pypy/jit/codegen/cli: . test
antocuni at codespeak.net
antocuni at codespeak.net
Mon Sep 1 15:14:33 CEST 2008
Author: antocuni
Date: Mon Sep 1 15:14:32 2008
New Revision: 57724
Modified:
pypy/branch/oo-jit/pypy/jit/codegen/cli/rgenop.py
pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_gencli_interpreter.py
Log:
finally remove an "assert False" that has been there for ages before I could find a failing test
Modified: pypy/branch/oo-jit/pypy/jit/codegen/cli/rgenop.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/codegen/cli/rgenop.py (original)
+++ pypy/branch/oo-jit/pypy/jit/codegen/cli/rgenop.py Mon Sep 1 15:14:32 2008
@@ -184,14 +184,9 @@
return dotnet.cast_to_native_object(self.obj)
def load(self, meth):
- assert False, 'XXX'
-## import pdb;pdb.set_trace()
-## index = self._get_index(builder)
-## if self.obj is None:
-## t = typeof(System.Object)
-## else:
-## t = self.obj.GetType()
-## self._load_from_array(builder, index, t)
+ index = self._get_index(meth)
+ clitype = self.getCliType()
+ self._load_from_array(meth, index, clitype)
@specialize.arg(1)
def revealconst(self, T):
Modified: pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_gencli_interpreter.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_gencli_interpreter.py (original)
+++ pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_gencli_interpreter.py Mon Sep 1 15:14:32 2008
@@ -80,7 +80,6 @@
def test_arith_plus_minus(self):
py.test.skip("Cannot work unless we add support for constant arguments in compiled tests")
- test_green_with_side_effects = skip
test_compile_time_const_tuple = skip
test_green_deepfrozen_oosend = skip
test_direct_oosend_with_green_self = skip
More information about the Pypy-commit
mailing list