diff options
author | Armin Rigo <arigo@tunes.org> | 2018-12-05 20:33:10 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2018-12-05 20:33:10 +0200 |
commit | 1880f466b3eab0f6a4a82c7ea3bd89ebba506e0c (patch) | |
tree | 985a95c3dadaa863f280410ccd4b01fa095b8903 /rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py | |
parent | Tentative fix for issue #2904 (diff) | |
download | pypy-1880f466b3eab0f6a4a82c7ea3bd89ebba506e0c.tar.gz pypy-1880f466b3eab0f6a4a82c7ea3bd89ebba506e0c.tar.bz2 pypy-1880f466b3eab0f6a4a82c7ea3bd89ebba506e0c.zip |
Re-enable this intbounds optimization. Found that tracking resops that are
*not* in the current loop is hard and error-prone; instead, track resops that
*are* in the current loop, and it's OK if we occasionally miss some.
Diffstat (limited to 'rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py')
-rw-r--r-- | rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py b/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py index fe590b7129..a4bf4d7de9 100644 --- a/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py +++ b/rpython/jit/metainterp/optimizeopt/test/test_optimizebasic.py @@ -4017,7 +4017,6 @@ class BaseTestOptimizeBasic(BaseTestBasic): strsetitem(p3, i2, i0) i5 = int_add(i2, 1) strsetitem(p3, i5, i1) - ifoo = int_add(i5, 1) jump(i1, i0, p3) """ self.optimize_strunicode_loop(ops, expected) |