From 105a9678505f3f34242f89aa0d5a28ee9dacfee6 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 16 Jul 2013 18:17:54 -0700 Subject: add test for not forwarding handled labeled break --- tools/test-js-optimizer-asm-outline1.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/test-js-optimizer-asm-outline1.js') 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); -- cgit v1.2.3-18-g5258