[pypy-commit] pypy default: Comment out again the likely() hint added in exceptiontransform.py as not measurably helping.
arigo
noreply at buildbot.pypy.org
Thu Jan 22 10:10:29 CET 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r75477:2eb2275f6e38
Date: 2015-01-22 10:10 +0100
http://bitbucket.org/pypy/pypy/changeset/2eb2275f6e38/
Log: Comment out again the likely() hint added in exceptiontransform.py
as not measurably helping.
diff --git a/rpython/translator/exceptiontransform.py b/rpython/translator/exceptiontransform.py
--- a/rpython/translator/exceptiontransform.py
+++ b/rpython/translator/exceptiontransform.py
@@ -398,7 +398,10 @@
else:
v_exc_type = self.gen_getfield('exc_type', llops)
var_no_exc = self.gen_isnull(v_exc_type, llops)
- var_no_exc = llops.genop('likely', [var_no_exc], lltype.Bool)
+ #
+ # We could add a "var_no_exc is likely true" hint, but it seems
+ # not to help, so it was commented out again.
+ #var_no_exc = llops.genop('likely', [var_no_exc], lltype.Bool)
block.operations.extend(llops)
More information about the pypy-commit
mailing list