aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-outline1.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-16 18:17:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-16 18:17:54 -0700
commit105a9678505f3f34242f89aa0d5a28ee9dacfee6 (patch)
treecc4b2c71b05b0eae5bed973dafd49e4e422953c1 /tools/test-js-optimizer-asm-outline1.js
parent33ea873c9f04c4419818d44a4066602bfc712a0d (diff)
add test for not forwarding handled labeled break
Diffstat (limited to 'tools/test-js-optimizer-asm-outline1.js')
-rw-r--r--tools/test-js-optimizer-asm-outline1.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-asm-outline1.js b/tools/test-js-optimizer-asm-outline1.js
index 035e32e7..838cbd4e 100644
--- a/tools/test-js-optimizer-asm-outline1.js
+++ b/tools/test-js-optimizer-asm-outline1.js
@@ -147,6 +147,9 @@ function mix() {
while (1) {
break; // no need to forward
}
+ inner: while (1) {
+ break inner; // no need to forward
+ }
c(19);
continue;
c(20);