From 68dc2eddc24844c7582cafa85afeb4023a47888f Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 12 Jun 2017 16:50:28 -0700 Subject: Support new result syntax for if/loop/block (#1047) Support both syntax formats in input since the old spec tests still need to be parsable. --- test/break-to-return.wasm.fromBinary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/break-to-return.wasm.fromBinary') diff --git a/test/break-to-return.wasm.fromBinary b/test/break-to-return.wasm.fromBinary index 1e7a2ce4d..0bf75cc8b 100644 --- a/test/break-to-return.wasm.fromBinary +++ b/test/break-to-return.wasm.fromBinary @@ -3,7 +3,7 @@ (memory $0 256 256) (export "add" (func $0)) (func $0 (type $0) (param $var$0 i32) (param $var$1 i32) (result i32) - (block $binaryen|break-to-return i32 + (block $binaryen|break-to-return (result i32) (br $binaryen|break-to-return (i32.add (get_local $var$0) -- cgit v1.2.3