[pypy-svn] r63423 - pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph
fijal at codespeak.net
fijal at codespeak.net
Sun Mar 29 23:22:52 CEST 2009
Author: fijal
Date: Sun Mar 29 23:22:47 2009
New Revision: 63423
Modified:
pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph/runner.py
Log:
ignore those. The reason why they appear is that if variables became const
at optimize, it lands at the backend. To be fixed
Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph/runner.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph/runner.py (original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/backend/llgraph/runner.py Sun Mar 29 23:22:47 2009
@@ -162,6 +162,10 @@
elif isinstance(box, history.BoxPtr):
value = llimpl.frame_ptr_getvalue(frame, i)
box.changevalue_ptr(value)
+ elif isinstance(box, history.ConstInt):
+ pass
+ elif isinstance(box, history.ConstPtr):
+ pass
else:
raise Exception("bad box in 'fail': %r" % (box,))
return op
More information about the Pypy-commit
mailing list