[pypy-svn] r61800 - pypy/branch/pyjitpl5/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Thu Feb 12 17:57:50 CET 2009


Author: arigo
Date: Thu Feb 12 17:57:49 2009
New Revision: 61800

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/codewriter.py
Log:
(fijal, arigo)
Comment out (we no longer use hint).


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/codewriter.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/codewriter.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/codewriter.py	Thu Feb 12 17:57:49 2009
@@ -387,14 +387,14 @@
     serialize_op_unichar_eq = serialize_op_char_eq
     serialize_op_unichar_ne = serialize_op_char_ne
 
-    def serialize_op_hint(self, op):
-        hints = op.args[1].value
-        if hints.get('promote') and op.args[0].concretetype is not lltype.Void:
-            self.minimize_variables()
-            self.emit('guard_value', self.var_position(op.args[0]))
-            self.register_var(op.result)
-        else:
-            self.serialize_op_same_as(op)
+##    def serialize_op_hint(self, op):
+##        hints = op.args[1].value
+##        if hints.get('promote') and op.args[0].concretetype is not lltype.Void:
+##            self.minimize_variables()
+##            self.emit('guard_value', self.var_position(op.args[0]))
+##            self.register_var(op.result)
+##        else:
+##            self.serialize_op_same_as(op)
 
     def serialize_op_int_is_true(self, op):
         if isinstance(op.args[0], Constant):



More information about the Pypy-commit mailing list