diff options
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r-- | test/unit.fromasm | 44 |
1 files changed, 14 insertions, 30 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm index f3d978c88..eda3ea485 100644 --- a/test/unit.fromasm +++ b/test/unit.fromasm @@ -64,9 +64,7 @@ (f64.const 5.6) ) ) - (return - (f64.const 1.2) - ) + (f64.const 1.2) ) (func $doubleCompares (param $x f64) (param $y f64) (result f64) (local $Int f64) @@ -107,16 +105,12 @@ (get_local $x) ) ) - (return - (get_local $y) - ) + (get_local $y) ) (func $intOps (result i32) (local $x i32) - (return - (i32.eqz - (get_local $x) - ) + (i32.eqz + (get_local $x) ) ) (func $hexLiterals @@ -262,30 +256,24 @@ ) (br $label$continue$L1) ) - (return - (i32.const 0) - ) + (i32.const 0) ) (func $blocker (nop) ) (func $frem (result f64) - (return - (call_import $f64-rem - (f64.const 5.5) - (f64.const 1.2) - ) + (call_import $f64-rem + (f64.const 5.5) + (f64.const 1.2) ) ) (func $big_uint_div_u (result i32) - (return - (i32.and - (i32.div_u - (i32.const -1) - (i32.const 2) - ) + (i32.and + (i32.div_u (i32.const -1) + (i32.const 2) ) + (i32.const -1) ) ) (func $fr (param $x f32) @@ -301,9 +289,7 @@ (f32.const 0) ) (func $negZero (result f64) - (return - (f64.const -0) - ) + (f64.const -0) ) (func $abs (local $asm2wasm_i32_temp i32) @@ -390,9 +376,7 @@ ) ) ) - (return - (get_local $i) - ) + (get_local $i) ) (func $cneg_nosemicolon (call_indirect $FUNCSIG$vi |