[pypy-svn] r65758 - pypy/branch/pyjitpl5/pypy/jit/backend/x86
fijal at codespeak.net
fijal at codespeak.net
Sat Jun 13 21:04:51 CEST 2009
Author: fijal
Date: Sat Jun 13 21:04:49 2009
New Revision: 65758
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py
Log:
Minor simplification (Does not change anything)
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py Sat Jun 13 21:04:49 2009
@@ -800,11 +800,7 @@
for i in range(len(op.args) - 1, 0, -1):
v = op.args[i]
loc = arglocs[i]
- if not isinstance(loc, MODRM):
- self.mc.PUSH(loc)
- else:
- # we need to add a bit, ble
- self.mc.PUSH(stack_pos(loc.position))
+ self.mc.PUSH(loc)
extra_on_stack += 1
if isinstance(op.args[0], Const):
x = rel32(op.args[0].getint())
More information about the Pypy-commit
mailing list