Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: 
Changeset: r75186:764546158178
Date: 2014-12-31 09:13 +0200
http://bitbucket.org/pypy/pypy/changeset/764546158178/

Log:    This is a spooky check (other people enforce that inputargs are
        unique anyway)

diff --git a/rpython/jit/metainterp/optimizeopt/unroll.py 
b/rpython/jit/metainterp/optimizeopt/unroll.py
--- a/rpython/jit/metainterp/optimizeopt/unroll.py
+++ b/rpython/jit/metainterp/optimizeopt/unroll.py
@@ -234,11 +234,7 @@
         self.short_boxes = exported_state.short_boxes
         self.initial_virtual_state = target_token.virtual_state
 
-        seen = {}
         for box in self.inputargs:
-            if box in seen:
-                continue
-            seen[box] = None
             preamble_value = exported_state.exported_values[box]
             value = self.optimizer.getvalue(box)
             value.import_from(preamble_value, self.optimizer)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to