diff options
Diffstat (limited to 'test/wasm-only.fromasm.clamp')
-rw-r--r-- | test/wasm-only.fromasm.clamp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/wasm-only.fromasm.clamp b/test/wasm-only.fromasm.clamp index 2f9a2a37b..34acb5b49 100644 --- a/test/wasm-only.fromasm.clamp +++ b/test/wasm-only.fromasm.clamp @@ -7,6 +7,10 @@ (type $legaltype$illegalImportResult (func (result i32))) (type $legaltype$_fabsf (func (param f64) (result f64))) (type $legaltype$do_i64 (func (result i32))) + (import "env" "memory" (memory $0 256 256)) + (import "env" "table" (table 3 3 anyfunc)) + (import "env" "memoryBase" (global $memoryBase i32)) + (import "env" "tableBase" (global $tableBase i32)) (import "env" "illegalImport" (func $illegalImport (param f64 i64 i32))) (import "env" "illegalImportResult" (func $illegalImportResult (result i64))) (import "env" "_fabsf" (func $_fabsf (param f32) (result f32))) @@ -16,10 +20,6 @@ (import "env" "illegalImportResult" (func $legalimport$illegalImportResult (result i32))) (import "env" "_fabsf" (func $legalimport$_fabsf (param f64) (result f64))) (import "env" "do_i64" (func $legalimport$do_i64 (result i32))) - (import "env" "memory" (memory $0 256 256)) - (import "env" "table" (table 3 3 anyfunc)) - (import "env" "memoryBase" (global $memoryBase i32)) - (import "env" "tableBase" (global $tableBase i32)) (global $tempRet0 (mut i32) (i32.const 0)) (elem (get_global $tableBase) $legalfunc$illegalImport $legalfunc$_fabsf $legalfunc$do_i64) (data (get_global $memoryBase) "wasm-only.asm.js") |