[pypy-commit] pypy default: less indirection
gutworth
noreply at buildbot.pypy.org
Sat Dec 24 03:26:39 CET 2011
Author: Benjamin Peterson <benjamin at python.org>
Branch:
Changeset: r50835:619c71657ffc
Date: 2011-12-23 20:26 -0600
http://bitbucket.org/pypy/pypy/changeset/619c71657ffc/
Log: less indirection
diff --git a/pypy/jit/codewriter/call.py b/pypy/jit/codewriter/call.py
--- a/pypy/jit/codewriter/call.py
+++ b/pypy/jit/codewriter/call.py
@@ -42,8 +42,7 @@
except AttributeError:
pass
- def is_candidate(graph):
- return policy.look_inside_graph(graph)
+ is_candidate = policy.look_inside_graph
assert len(self.jitdrivers_sd) > 0
todo = [jd.portal_graph for jd in self.jitdrivers_sd]
More information about the pypy-commit
mailing list