Author: Armin Rigo <[email protected]>
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',
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to