diff options
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r-- | test/unit.fromasm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm index b73e38516..9388f0a96 100644 --- a/test/unit.fromasm +++ b/test/unit.fromasm @@ -1,5 +1,4 @@ (module - (data (get_global $memoryBase) "unit.asm.js") (type $FUNCSIG$id (func (param f64) (result i32))) (type $FUNCSIG$ddd (func (param f64 f64) (result f64))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) @@ -25,8 +24,8 @@ (import "env" "table" (table 10 10 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) - (export "big_negative" (func $big_negative)) - (export "pick" (func $big_negative)) + (elem (i32.const 0) $big_negative $big_negative $big_negative $big_negative $big_negative $big_negative $importedDoubles $big_negative $big_negative $cneg) + (data (get_global $memoryBase) "unit.asm.js") (global $t (mut f64) (get_global $t$asm2wasm$import)) (global $u (mut f64) (get_global $u$asm2wasm$import)) (global $Int (mut i32) (i32.const 0)) @@ -34,7 +33,8 @@ (global $tempDoublePtr (mut i32) (get_global $tempDoublePtr$asm2wasm$import)) (global $n (mut i32) (get_global $n$asm2wasm$import)) (global $STACKTOP (mut i32) (get_global $STACKTOP$asm2wasm$import)) - (elem (i32.const 0) $big_negative $big_negative $big_negative $big_negative $big_negative $big_negative $importedDoubles $big_negative $big_negative $cneg) + (export "big_negative" (func $big_negative)) + (export "pick" (func $big_negative)) (func $big_negative (nop) ) |