Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r75471:d6a21b1c7ca8
Date: 2015-01-21 18:48 +0100
http://bitbucket.org/pypy/pypy/changeset/d6a21b1c7ca8/

Log:    Trying to add another likely() here for the common path where no
        exception occurred

diff --git a/rpython/translator/exceptiontransform.py 
b/rpython/translator/exceptiontransform.py
--- a/rpython/translator/exceptiontransform.py
+++ b/rpython/translator/exceptiontransform.py
@@ -398,6 +398,7 @@
         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)
 
         block.operations.extend(llops)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to