[pypy-svn] r65505 - pypy/branch/pyjitpl5-experiments/pypy/interpreter
fijal at codespeak.net
fijal at codespeak.net
Fri May 29 21:19:06 CEST 2009
Author: fijal
Date: Fri May 29 21:19:03 2009
New Revision: 65505
Modified:
pypy/branch/pyjitpl5-experiments/pypy/interpreter/function.py
Log:
reintroduce the hint, it might have been a bad idea to remove
Modified: pypy/branch/pyjitpl5-experiments/pypy/interpreter/function.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/interpreter/function.py (original)
+++ pypy/branch/pyjitpl5-experiments/pypy/interpreter/function.py Fri May 29 21:19:03 2009
@@ -11,6 +11,7 @@
from pypy.interpreter.baseobjspace import Wrappable
from pypy.interpreter.eval import Code
from pypy.interpreter.argument import Arguments, ArgumentsFromValuestack
+from pypy.rlib.jit import hint
funccallunrolling = unrolling_iterable(range(4))
@@ -45,7 +46,7 @@
return self.code.funcrun_obj(self, w_obj, args)
def getcode(self):
- return self.code
+ return hint(self.code, promote=True)
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
More information about the Pypy-commit
mailing list