[pypy-svn] r67390 - pypy/trunk/pypy/objspace/std
pedronis at codespeak.net
pedronis at codespeak.net
Tue Sep 1 16:07:24 CEST 2009
Author: pedronis
Date: Tue Sep 1 16:07:19 2009
New Revision: 67390
Modified:
pypy/trunk/pypy/objspace/std/objspace.py
Log:
(micke, pedronis)
this optimisation and code path is not used anymore with the jit, don't bother with we_are_jitted
Modified: pypy/trunk/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/objspace.py (original)
+++ pypy/trunk/pypy/objspace/std/objspace.py Tue Sep 1 16:07:19 2009
@@ -168,11 +168,9 @@
def call_likely_builtin(f, w_function, nargs):
if isinstance(w_function, function.Function):
executioncontext = self.getexecutioncontext()
- if not we_are_jitted():
- executioncontext.c_call_trace(f, w_function)
+ executioncontext.c_call_trace(f, w_function)
res = w_function.funccall_valuestack(nargs, f)
- if not we_are_jitted():
- executioncontext.c_return_trace(f, w_function)
+ executioncontext.c_return_trace(f, w_function)
return res
args = f.make_arguments(nargs)
try:
More information about the Pypy-commit
mailing list