aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-18 15:47:07 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-02-18 15:47:07 -0800
commit06b262b3f17f74d476f94ff87af58c70ab070eb1 (patch)
treec2442e1cf2967d751e2c8b751fda33a0259d5472 /tests/runner.py
parent3e3dc0bbd3029200a6d4fa3866444be54ec27616 (diff)
run closure in -O3, it makes sense there with the other unsafe optimizations
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 259d8188..abd925bf 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8292,14 +8292,14 @@ Options that are modified or new in %s include:
(['-o', 'something.js', '-O2'], 2, None, 0, 1),
(['-o', 'something.js', '-O2', '--closure', '0'], 2, None, 0, 0),
(['-o', 'something.js', '-O2', '-g'], 2, None, 0, 0),
- (['-o', 'something.js', '-O3'], 3, None, 0, 1),
+ (['-o', 'something.js', '-O3'], 3, None, 1, 1),
(['-o', 'something.js', '-O3', '--closure', '0'], 3, None, 0, 0),
# and, test compiling to bitcode first
(['-o', 'something.bc'], 0, [], 0, 0),
(['-o', 'something.bc'], 0, ['-O0'], 0, 0),
(['-o', 'something.bc'], 1, ['-O1'], 0, 0),
(['-o', 'something.bc'], 2, ['-O2'], 0, 0),
- (['-o', 'something.bc'], 3, ['-O3'], 0, 0),
+ (['-o', 'something.bc'], 3, ['-O3'], 1, 0),
(['-O1', '-o', 'something.bc'], 0, [], 0, 0), # -Ox is ignored and warned about
]:
print params, opt_level, bc_params, closure, has_malloc