[pypy-commit] pypy stmgc-c4: Argh argh argh! This comes from an insufficiently-tested checkin by

arigo noreply at buildbot.pypy.org
Thu Sep 5 16:35:06 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c4
Changeset: r66804:5ebc24517995
Date: 2013-09-05 16:34 +0200
http://bitbucket.org/pypy/pypy/changeset/5ebc24517995/

Log:	Argh argh argh! This comes from an insufficiently-tested checkin by
	me long ago. :-(

diff --git a/rpython/translator/backendopt/writeanalyze.py b/rpython/translator/backendopt/writeanalyze.py
--- a/rpython/translator/backendopt/writeanalyze.py
+++ b/rpython/translator/backendopt/writeanalyze.py
@@ -40,7 +40,7 @@
             if graphinfo is None or not graphinfo.is_fresh_malloc(op.args[0]):
                 return frozenset([
                     ("struct", op.args[0].concretetype, op.args[1].value)])
-        elif op.opname == ("setarrayitem", "setinteriorfield"):
+        elif op.opname == "setarrayitem":
             if graphinfo is None or not graphinfo.is_fresh_malloc(op.args[0]):
                 return self._array_result(op.args[0].concretetype)
         return empty_set


More information about the pypy-commit mailing list