Author: Alex Gaynor <alex.gay...@gmail.com>
Branch: 
Changeset: r46444:040465e2f3e8
Date: 2011-08-11 17:21 -0700
http://bitbucket.org/pypy/pypy/changeset/040465e2f3e8/

Log:    rbigint.lt is also elidable, basically all the operators are, but
        I'm just doing them as I actually see it show up in traces.

diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py
--- a/pypy/rlib/rbigint.py
+++ b/pypy/rlib/rbigint.py
@@ -295,6 +295,7 @@
     def ne(self, other):
         return not self.eq(other)
 
+    @jit.elidable
     def lt(self, other):
         if self.sign > other.sign:
             return False
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to