Author: Alex Gaynor <[email protected]>
Branch: jit-codewriter-force-cast-refactor
Changeset: r46835:c9a92aa9990c
Date: 2011-08-27 18:49 -0400
http://bitbucket.org/pypy/pypy/changeset/c9a92aa9990c/

Log:    fix typo

diff --git a/pypy/jit/codewriter/jtransform.py 
b/pypy/jit/codewriter/jtransform.py
--- a/pypy/jit/codewriter/jtransform.py
+++ b/pypy/jit/codewriter/jtransform.py
@@ -805,8 +805,8 @@
             assert False
 
     def _int_to_int_cast(self, v_arg, v_result):
-        longlong_arg = longlong.is_longlong(v_arg)
-        longlong_res = longlong.is_longlong(v_result)
+        longlong_arg = longlong.is_longlong(v_arg.concretetype)
+        longlong_res = longlong.is_longlong(v_result.concretetype)
 
         if longlong_arg and longlong_res:
             return
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to