summaryrefslogtreecommitdiff
path: root/test/wasm2js/excess_fallthrough.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/excess_fallthrough.2asm.js')
-rw-r--r--test/wasm2js/excess_fallthrough.2asm.js28
1 files changed, 13 insertions, 15 deletions
diff --git a/test/wasm2js/excess_fallthrough.2asm.js b/test/wasm2js/excess_fallthrough.2asm.js
index e5c4bcd1a..e8b9352bd 100644
--- a/test/wasm2js/excess_fallthrough.2asm.js
+++ b/test/wasm2js/excess_fallthrough.2asm.js
@@ -26,22 +26,20 @@ function asmFunc(global, env, buffer) {
function foo($0) {
$0 = $0 | 0;
- label$4 : while (1) {
- label$5 : {
- bar();
- block : {
- switch (123 | 0) {
- case 0:
- bar();
- break;
- default:
- break label$5;
- };
- }
- return;
+ label$5 : {
+ bar();
+ block : {
+ switch (123 | 0) {
+ case 0:
+ bar();
+ break;
+ default:
+ break label$5;
+ };
}
- abort();
- };
+ return;
+ }
+ abort();
}
var FUNCTION_TABLE = [];