[pypy-svn] r71366 - pypy/trunk/pypy/jit/backend/x86
arigo at codespeak.net
arigo at codespeak.net
Sat Feb 20 19:47:57 CET 2010
Author: arigo
Date: Sat Feb 20 19:47:56 2010
New Revision: 71366
Modified:
pypy/trunk/pypy/jit/backend/x86/regalloc.py
Log:
Why is it written in this complicated abstraction-breaking way?
Modified: pypy/trunk/pypy/jit/backend/x86/regalloc.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/x86/regalloc.py (original)
+++ pypy/trunk/pypy/jit/backend/x86/regalloc.py Sat Feb 20 19:47:56 2010
@@ -677,6 +677,8 @@
tmp0 = TempBox()
self.rm.force_allocate_reg(op.result, selected_reg=eax)
self.rm.force_allocate_reg(tmp0, selected_reg=edx)
+ # XXX about the next 10 lines: why not just say
+ # force_allocate_reg(tmp1, selected_reg=ecx)?????
for v, reg in self.rm.reg_bindings.items():
if reg is ecx:
to_sync = v
More information about the Pypy-commit
mailing list