summaryrefslogtreecommitdiff
path: root/test/memorygrowth.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/memorygrowth.fromasm')
-rw-r--r--test/memorygrowth.fromasm6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/memorygrowth.fromasm b/test/memorygrowth.fromasm
index 8c400ab68..96c2def4b 100644
--- a/test/memorygrowth.fromasm
+++ b/test/memorygrowth.fromasm
@@ -5,8 +5,10 @@
(type $FUNCSIG$v (func))
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
- (import "env" "memory" (memory $0 256))
+ (import "env" "memory" (memory $memory 256))
+ (data (get_global $memoryBase) "memorygrowth.asm.js")
(import "env" "table" (table 8 8 anyfunc))
+ (elem (get_global $tableBase) $nb $Oa $ob $Va $Ua $Ra $pb $Sa)
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(import "env" "STACKTOP" (global $r$asm2wasm$import i32))
@@ -28,8 +30,6 @@
(global $v (mut i32) (i32.const 0))
(global $w (mut i32) (i32.const 0))
(global $K (mut i32) (i32.const 0))
- (elem (get_global $tableBase) $nb $Oa $ob $Va $Ua $Ra $pb $Sa)
- (data (get_global $memoryBase) "memorygrowth.asm.js")
(export "__growWasmMemory" (func $__growWasmMemory))
(export "_free" (func $fb))
(export "_main" (func $Na))