[pypy-commit] pypy default: Fix a test in test_optimizebasic, a bit obscurely.

arigo noreply at buildbot.pypy.org
Mon Oct 17 09:56:53 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r48111:2bda02052847
Date: 2011-10-17 09:56 +0200
http://bitbucket.org/pypy/pypy/changeset/2bda02052847/

Log:	Fix a test in test_optimizebasic, a bit obscurely.

diff --git a/pypy/jit/metainterp/resoperation.py b/pypy/jit/metainterp/resoperation.py
--- a/pypy/jit/metainterp/resoperation.py
+++ b/pypy/jit/metainterp/resoperation.py
@@ -431,11 +431,11 @@
     'INT_IS_TRUE/1b',
     'INT_NEG/1',
     'INT_INVERT/1',
+    #
+    'SAME_AS/1',      # gets a Const or a Box, turns it into another Box
     'CAST_PTR_TO_INT/1',
     'CAST_INT_TO_PTR/1',
     #
-    'SAME_AS/1',      # gets a Const or a Box, turns it into another Box
-    #
     'PTR_EQ/2b',
     'PTR_NE/2b',
     'CAST_OPAQUE_PTR/1b',


More information about the pypy-commit mailing list