Author: fijal
Branch:
Changeset: r83525:0c9b0eb268bd
Date: 2016-04-05 17:59 +0300
http://bitbucket.org/pypy/pypy/changeset/0c9b0eb268bd/
Log: fix a strange case
diff --git a/rpython/jit/metainterp/history.py
b/rpython/jit/metainterp/history.py
--- a/rpython/jit/metainterp/history.py
+++ b/rpython/jit/metainterp/history.py
@@ -690,7 +690,7 @@
self.trace = Trace(inpargs, metainterp_sd)
self.inputargs = inpargs
- if self._cache:
+ if self._cache is not None:
# hack to record the ops *after* we know our inputargs
for (opnum, argboxes, op, descr) in self._cache:
pos = self.trace.record_op(opnum, argboxes, descr)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit