[pypy-commit] pypy unroll-if-alt: fix
cfbolz
noreply at buildbot.pypy.org
Tue Sep 20 15:55:51 CEST 2011
Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: unroll-if-alt
Changeset: r47367:5e7721621699
Date: 2011-09-20 15:55 +0200
http://bitbucket.org/pypy/pypy/changeset/5e7721621699/
Log: fix
diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat.py
--- a/pypy/objspace/std/newformat.py
+++ b/pypy/objspace/std/newformat.py
@@ -67,7 +67,7 @@
s = self.template
return self._do_build_string(start, end, level, out, s)
- @jit.unroll_iff(lambda self, start, end, level, out, s: jit.isconstant(s))
+ @jit.look_inside_iff(lambda self, start, end, level, out, s: jit.isconstant(s))
def _do_build_string(self, start, end, level, out, s):
space = self.space
last_literal = i = start
More information about the pypy-commit
mailing list