[pypy-svn] r71309 - pypy/branch/string-promote/pypy/jit/metainterp
fijal at codespeak.net
fijal at codespeak.net
Thu Feb 18 22:12:45 CET 2010
Author: fijal
Date: Thu Feb 18 22:12:43 2010
New Revision: 71309
Modified:
pypy/branch/string-promote/pypy/jit/metainterp/codewriter.py
Log:
I think it's sane to say we should never promote a string
Modified: pypy/branch/string-promote/pypy/jit/metainterp/codewriter.py
==============================================================================
--- pypy/branch/string-promote/pypy/jit/metainterp/codewriter.py (original)
+++ pypy/branch/string-promote/pypy/jit/metainterp/codewriter.py Thu Feb 18 22:12:43 2010
@@ -836,9 +836,7 @@
if hints.get('promote') and op.args[0].concretetype is not lltype.Void:
self.minimize_variables()
from pypy.rpython.lltypesystem.rstr import STR
- if op.args[0].concretetype == STR:
- import pdb
- pdb.set_trace()
+ assert op.args[0].concretetype != STR
self.emit('guard_value', self.var_position(op.args[0]))
self.register_var(op.result)
else:
More information about the Pypy-commit
mailing list