diff options
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r-- | test/unit.fromasm.imprecise | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 6cdab7aa0..b0f46e7ad 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -15,14 +15,14 @@ (import "env" "return_int" (func $return_int (result i32))) (import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64))) (import "env" "memory" (memory $0 256 256)) - (import "env" "table" (table 24 24 anyfunc)) + (import "env" "table" (table 25 25 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (global $Int (mut i32) (i32.const 0)) (global $Double (mut f64) (f64.const 0)) (global $n (mut i32) (get_global $n$asm2wasm$import)) (global $exportedNumber i32 (i32.const 42)) - (elem (get_global $tableBase) $big_negative $big_negative $big_negative $big_negative $w $w $importedDoubles $w $fr $cneg $fr $fr $fr $fr $fr $fr $vi $vi $vi $vi $vi $vi $vi $vi) + (elem (get_global $tableBase) $big_negative $big_negative $big_negative $big_negative $w $w $importedDoubles $w $fr $cneg $fr $fr $fr $fr $fr $fr $vi $vi $vi $vi $vi $vi $vi $vi $ii) (export "big_negative" (func $big_negative)) (export "pick" (func $big_negative)) (export "doubleCompares" (func $doubleCompares)) @@ -1143,6 +1143,12 @@ ) (get_local $0) ) + (func $indirectInSequence + (call_indirect $FUNCSIG$vi + (i32.const 0) + (i32.const 17) + ) + ) (func $keepAlive (drop (call $sqrts @@ -1164,10 +1170,14 @@ (i32.const 52) ) ) + (call $indirectInSequence) ) (func $vi (param $0 i32) (nop) ) + (func $ii (param $0 i32) (result i32) + (get_local $0) + ) (func $legalstub$fr (param $0 f64) (call $fr (f32.demote/f64 |