aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-outline1.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-27 11:57:19 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-27 11:57:19 -0700
commit66b0df277f38990b5910ddaf733083bef3922d3d (patch)
treeac1e78fe35e947e40a03d8cc3b4fc3493a0a7561 /tools/test-js-optimizer-asm-outline1.js
parent0e962d46df610c19f874a719adaa42cf6f517057 (diff)
fix outliner bug with checking when switch cases need to be joined
Diffstat (limited to 'tools/test-js-optimizer-asm-outline1.js')
-rw-r--r--tools/test-js-optimizer-asm-outline1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-js-optimizer-asm-outline1.js b/tools/test-js-optimizer-asm-outline1.js
index 3c454182..4282ec8e 100644
--- a/tools/test-js-optimizer-asm-outline1.js
+++ b/tools/test-js-optimizer-asm-outline1.js
@@ -269,7 +269,7 @@ function switchh() {
case 1: {
f(1);
g();
- break;
+ return;
}
case 2: {
f(2);