[pypy-commit] pypy ootype-rerased: Fixed test and removed useless need_result_type for ll operations
ademan
noreply at buildbot.pypy.org
Tue Jul 19 21:50:35 CEST 2011
Author: Daniel Roberts <Ademan555 at gmail.com>
Branch: ootype-rerased
Changeset: r45751:03db3de729eb
Date: 2011-07-19 12:50 -0700
http://bitbucket.org/pypy/pypy/changeset/03db3de729eb/
Log: Fixed test and removed useless need_result_type for ll operations
diff --git a/pypy/rlib/test/test_rerased.py b/pypy/rlib/test/test_rerased.py
--- a/pypy/rlib/test/test_rerased.py
+++ b/pypy/rlib/test/test_rerased.py
@@ -283,6 +283,8 @@
def castable(self, TO, var):
return lltype.castable(TO, lltype.typeOf(var)) > 0
+from pypy.rpython.ootypesystem.ootype import Object
+
class TestOOtype(BaseTestRErased, OORtypeMixin):
ERASED_TYPE = Object
UNERASED_TYPE = OBJECT
diff --git a/pypy/rpython/ootypesystem/ootype.py b/pypy/rpython/ootypesystem/ootype.py
--- a/pypy/rpython/ootypesystem/ootype.py
+++ b/pypy/rpython/ootypesystem/ootype.py
@@ -1945,11 +1945,9 @@
def oobox_int(i):
return Box(i)
-oobox_int.need_result_type = True
def oounbox_int(x):
return x.i
-oounbox_int.need_result_type = True
def oostring(obj, base):
"""
More information about the pypy-commit
mailing list