Author: Amaury Forgeot d'Arc <[email protected]>
Branch: 
Changeset: r179:d9436ef872ff
Date: 2012-04-09 18:21 +0200
http://bitbucket.org/pypy/benchmarks/changeset/d9436ef872ff/

Log:    Simplify BUILD_LIST_FROM_ARG again, and hope that benchmarks pass

diff --git a/lib/pypy/pypy/interpreter/pyopcode.py 
b/lib/pypy/pypy/interpreter/pyopcode.py
--- a/lib/pypy/pypy/interpreter/pyopcode.py
+++ b/lib/pypy/pypy/interpreter/pyopcode.py
@@ -717,10 +717,6 @@
         # this is a little dance, because list has to be before the
         # value
         last_val = self.popvalue()
-        try:
-            lgt = self.space.int_w(self.space.len(last_val))
-        except OperationError:
-            lgt = 0 # oh well
         self.pushvalue(self.space.newlist([]))
         self.pushvalue(last_val)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to