Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r51543:a80226d0b3cd
Date: 2012-01-20 17:14 +0100
http://bitbucket.org/pypy/pypy/changeset/a80226d0b3cd/

Log:    I think that this "if" doesn't make sense. Kill tentatively.

diff --git a/pypy/jit/backend/x86/assembler.py 
b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -2042,10 +2042,7 @@
         size = sizeloc.value
         signloc = arglocs[1]
 
-        if isinstance(op.getarg(0), Const):
-            x = imm(op.getarg(0).getint())
-        else:
-            x = arglocs[2]
+        x = arglocs[2]     # the function address
         if x is eax:
             tmp = ecx
         else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to