[pypy-svn] r64120 - pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86
fijal at codespeak.net
fijal at codespeak.net
Wed Apr 15 22:06:02 CEST 2009
Author: fijal
Date: Wed Apr 15 22:06:00 2009
New Revision: 64120
Modified:
pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py
Log:
oops oops oops. This is no longer correct. Kill this optimization for now
Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py (original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py Wed Apr 15 22:06:00 2009
@@ -161,14 +161,15 @@
for i in range(len(inputargs)):
if inputargs[i] is jump.args[i]:
loop_consts[inputargs[i]] = i
- for i in range(len(inputargs)):
- arg = inputargs[i]
- jarg = jump.args[i]
- if arg is not jarg and not isinstance(jarg, Const):
- if self.longevity[arg][1] <= self.longevity[jarg][0]:
- if jarg not in self.stack_bindings:
- self.stack_bindings[jarg] = stack_pos(i)
- self.dirty_stack[jarg] = True
+ #for i in range(len(inputargs)):
+ # arg = inputargs[i]
+ # jarg = jump.args[i]
+ # if arg is not jarg and not isinstance(jarg, Const):
+ # if self.longevity[arg][1] <= self.longevity[jarg][0]:
+ # if (jarg not in self.stack_bindings and
+ # arg in self.stack_bindings):
+ # self.stack_bindings[jarg] = stack_pos(i)
+ # self.dirty_stack[jarg] = True
return loop_consts, len(inputargs)
def _check_invariants(self):
More information about the Pypy-commit
mailing list