summaryrefslogtreecommitdiff
path: root/scripts/fuzz_opt.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fuzz_opt.py')
-rw-r--r--scripts/fuzz_opt.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py
index 2346e2ee7..d3d2ea6e2 100644
--- a/scripts/fuzz_opt.py
+++ b/scripts/fuzz_opt.py
@@ -173,12 +173,6 @@ def test_one(infile, opts):
run([in_bin('wasm-opt'), 'a.wasm', '-o', 'c.wasm'] + opts)
assert open('b.wasm').read() == open('c.wasm').read(), 'output must be deterministic'
- os.environ['OLD'] = '1'
- run([in_bin('wasm-opt'), 'a.wasm', '-o', 'b.wasm', '-O'])
- del os.environ['OLD']
- run([in_bin('wasm-opt'), 'a.wasm', '-o', 'c.wasm', '--ssa', '-O'])
- assert os.path.getsize('b.wasm') >= os.path.getsize('c.wasm')
-
return bytes