[pypy-commit] pypy optresult: enable this check always, we can always disable it later
fijal
noreply at buildbot.pypy.org
Thu Jun 4 11:34:20 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: optresult
Changeset: r77849:9af0f17031ad
Date: 2015-06-04 11:34 +0200
http://bitbucket.org/pypy/pypy/changeset/9af0f17031ad/
Log: enable this check always, we can always disable it later
diff --git a/rpython/jit/metainterp/optimizeopt/optimizer.py b/rpython/jit/metainterp/optimizeopt/optimizer.py
--- a/rpython/jit/metainterp/optimizeopt/optimizer.py
+++ b/rpython/jit/metainterp/optimizeopt/optimizer.py
@@ -778,12 +778,12 @@
except resume.TagOverflow:
raise compile.giveup()
# check no duplicates
- if not we_are_translated():
- seen = {}
- for box in newboxes:
- if box is not None:
- assert box not in seen
- seen[box] = None
+ #if not we_are_translated():
+ seen = {}
+ for box in newboxes:
+ if box is not None:
+ assert box not in seen
+ seen[box] = None
descr.store_final_boxes(op, newboxes, self.metainterp_sd)
#
if op.getopnum() == rop.GUARD_VALUE:
More information about the pypy-commit
mailing list