[pypy-svn] pypy jit-longlong: Remove some methods added and not used.

arigo commits-noreply at bitbucket.org
Fri Jan 28 14:39:01 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-longlong
Changeset: r41428:edb0a7cff0e9
Date: 2011-01-28 14:36 +0100
http://bitbucket.org/pypy/pypy/changeset/edb0a7cff0e9/

Log:	Remove some methods added and not used.

diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py
--- a/pypy/rlib/rbigint.py
+++ b/pypy/rlib/rbigint.py
@@ -560,34 +560,6 @@
         if self._numdigits() == 1 and self.digits[0] == 0:
             self.sign = 0
 
-    def getsign(self):
-        return self.sign
-
-
-    @staticmethod
-    def static_add(a, b):
-        return a.add(b)
-
-    @staticmethod
-    def static_mul(a, b):
-        return a.mul(b)
-
-    @staticmethod
-    def static_floordiv(a, b):
-        return a.floordiv(b)
-
-    @staticmethod
-    def static_lshift(a, b):
-        return a.lshift(b)
-
-    @staticmethod
-    def static_rshift(a, b):
-        return a.rshift(b)
-
-    @staticmethod
-    def static_pow(a, b):
-        return a.pow(b)
-
     def bit_length(self):
         i = self._numdigits()
         if i == 1 and self.digits[0] == 0:


More information about the Pypy-commit mailing list