diff options
Diffstat (limited to 'test/unreachable-import_wasm-only.fromasm.no-opts')
-rw-r--r-- | test/unreachable-import_wasm-only.fromasm.no-opts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unreachable-import_wasm-only.fromasm.no-opts b/test/unreachable-import_wasm-only.fromasm.no-opts index 3160ad370..763eaebde 100644 --- a/test/unreachable-import_wasm-only.fromasm.no-opts +++ b/test/unreachable-import_wasm-only.fromasm.no-opts @@ -1,6 +1,10 @@ (module (type $FUNCSIG$ii (func (param i32) (result i32))) (type $FUNCSIG$viii (func (param i32 i32 i32))) + (import "env" "memory" (memory $0 256 256)) + (import "env" "table" (table 0 0 anyfunc)) + (import "env" "memoryBase" (global $memoryBase i32)) + (import "env" "tableBase" (global $tableBase i32)) (import "env" "DYNAMICTOP_PTR" (global $DYNAMICTOP_PTR$asm2wasm$import i32)) (import "env" "tempDoublePtr" (global $tempDoublePtr$asm2wasm$import i32)) (import "env" "ABORT" (global $ABORT$asm2wasm$import i32)) @@ -14,10 +18,6 @@ (import "global" "Infinity" (global $inf$asm2wasm$import f64)) (import "env" "___cxa_allocate_exception" (func $___cxa_allocate_exception (param i32) (result i32))) (import "env" "___cxa_throw" (func $___cxa_throw (param i32 i32 i32))) - (import "env" "memory" (memory $0 256 256)) - (import "env" "table" (table 0 0 anyfunc)) - (import "env" "memoryBase" (global $memoryBase i32)) - (import "env" "tableBase" (global $tableBase i32)) (global $DYNAMICTOP_PTR (mut i32) (get_global $DYNAMICTOP_PTR$asm2wasm$import)) (global $tempDoublePtr (mut i32) (get_global $tempDoublePtr$asm2wasm$import)) (global $ABORT (mut i32) (get_global $ABORT$asm2wasm$import)) |