Author: Armin Rigo <[email protected]>
Branch: stringbuilder-perf
Changeset: r71998:e0b4b9346cfb
Date: 2014-06-09 16:27 +0200
http://bitbucket.org/pypy/pypy/changeset/e0b4b9346cfb/

Log:    Fix: always do this, even if not found-early-to-be-virtual

diff --git a/rpython/rtyper/lltypesystem/rbuilder.py 
b/rpython/rtyper/lltypesystem/rbuilder.py
--- a/rpython/rtyper/lltypesystem/rbuilder.py
+++ b/rpython/rtyper/lltypesystem/rbuilder.py
@@ -342,7 +342,7 @@
     @staticmethod
     @always_inline
     def ll_append_multiple_char(ll_builder, char, times):
-        if jit.isvirtual(ll_builder):
+        if jit.we_are_jitted(ll_builder):
             if BaseStringBuilderRepr._ll_jit_try_append_multiple_char(
                     ll_builder, char, times):
                 return
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to