[pypy-svn] r67495 - pypy/trunk/pypy/jit/backend/x86
arigo at codespeak.net
arigo at codespeak.net
Fri Sep 4 18:21:12 CEST 2009
Author: arigo
Date: Fri Sep 4 18:21:11 2009
New Revision: 67495
Modified:
pypy/trunk/pypy/jit/backend/x86/assembler.py
Log:
This assert made sense long ago when we used ESP-based addressing.
Now it's just wrong because the helper is used for much more stuff.
Modified: pypy/trunk/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/x86/assembler.py (original)
+++ pypy/trunk/pypy/jit/backend/x86/assembler.py Fri Sep 4 18:21:11 2009
@@ -323,9 +323,7 @@
nargs = len(args)
extra_on_stack = self.align_stack_for_call(nargs)
for i in range(nargs-1, -1, -1):
- arg = args[i]
- assert not isinstance(arg, MODRM)
- self.mc.PUSH(arg)
+ self.mc.PUSH(args[i])
self.mc.CALL(rel32(addr))
self.mark_gc_roots()
self.mc.ADD(esp, imm(extra_on_stack * WORD))
More information about the Pypy-commit
mailing list