[pypy-commit] pypy issue2018: fix SingleFrozenPBCR.convert_const()
rlamy
noreply at buildbot.pypy.org
Fri Apr 10 19:49:29 CEST 2015
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: issue2018
Changeset: r76770:516fd6b31b0c
Date: 2015-04-10 18:46 +0100
http://bitbucket.org/pypy/pypy/changeset/516fd6b31b0c/
Log: fix SingleFrozenPBCR.convert_const()
diff --git a/rpython/rtyper/rpbc.py b/rpython/rtyper/rpbc.py
--- a/rpython/rtyper/rpbc.py
+++ b/rpython/rtyper/rpbc.py
@@ -383,6 +383,9 @@
assert frozendesc is self.frozendesc
return object() # lowleveltype is Void
+ def convert_const(self, value):
+ return None
+
def getstr(self):
return str(self.frozendesc)
getstr._annspecialcase_ = 'specialize:memo'
More information about the pypy-commit
mailing list