[pypy-commit] benchmarks default: Simplify BUILD_LIST_FROM_ARG again, and hope that benchmarks pass

amauryfa noreply at buildbot.pypy.org
Mon Apr 9 18:22:28 CEST 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
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)
 


More information about the pypy-commit mailing list