[pypy-commit] pypy recursion_and_inlining: We no longer need a separate inline variable.
ltratt
noreply at buildbot.pypy.org
Tue Dec 9 17:29:46 CET 2014
Author: Laurence Tratt <laurie at tratt.net>
Branch: recursion_and_inlining
Changeset: r74864:b02aa3253678
Date: 2014-12-08 15:39 +0000
http://bitbucket.org/pypy/pypy/changeset/b02aa3253678/
Log: We no longer need a separate inline variable.
diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -957,7 +957,6 @@
# recursion, which would be equivalent to unrolling a while
# loop.
portal_code = targetjitdriver_sd.mainjitcode
- inline = True
count = 0
for f in self.metainterp.framestack:
if f.jitcode is not portal_code:
@@ -980,8 +979,7 @@
# hasn't happened already, the function is traced
# separately as soon as possible.
warmrunnerstate.dont_trace_here(greenboxes)
- inline = False
- if inline:
+ else:
return self.metainterp.perform_call(portal_code, allboxes,
greenkey=greenboxes)
assembler_call = True
More information about the pypy-commit
mailing list