Author: Laurence Tratt <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit