[pypy-svn] pypy default: cleanup non intended checkin

hakanardo commits-noreply at bitbucket.org
Mon Apr 25 11:40:48 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: 
Changeset: r43556:6d5b7ba2e05e
Date: 2011-04-25 11:12 +0200
http://bitbucket.org/pypy/pypy/changeset/6d5b7ba2e05e/

Log:	cleanup non intended checkin

diff --git a/pypy/jit/metainterp/test/test_ajit.py b/pypy/jit/metainterp/test/test_ajit.py
--- a/pypy/jit/metainterp/test/test_ajit.py
+++ b/pypy/jit/metainterp/test/test_ajit.py
@@ -2074,34 +2074,6 @@
             assert self.meta_interp(f, [-bigval, 5]) == 0
             self.check_loops(int_rshift=1, everywhere=True)
 
-    def notest_overflowing_shift2(self):
-        myjitdriver = JitDriver(greens = [], reds = ['a', 'b', 'n', 'sa'])
-        def f(a, b):
-            n = sa = 0
-            while n < 10:
-                myjitdriver.jit_merge_point(a=a, b=b, n=n, sa=sa)
-                if 0 < a < hint(sys.maxint/2, promote=True): pass
-                if 0 < b < 100: pass
-                sa += (a << b) >> b
-                n += 1
-            return sa
-
-        assert self.meta_interp(f, [5, 5]) == 50
-        self.check_loops(int_rshift=0, everywhere=True)
-
-        assert self.meta_interp(f, [5, 10]) == 50
-        self.check_loops(int_rshift=1, everywhere=True)
-
-        assert self.meta_interp(f, [10, 5]) == 100
-        self.check_loops(int_rshift=1, everywhere=True)
-
-        assert self.meta_interp(f, [10, 10]) == 100
-        self.check_loops(int_rshift=1, everywhere=True)
-
-        assert self.meta_interp(f, [5, 100]) == 0
-        self.check_loops(int_rshift=1, everywhere=True)
-
-
 class TestOOtype(BasicTests, OOJitMixin):
 
     def test_oohash(self):


More information about the Pypy-commit mailing list