summaryrefslogtreecommitdiff
path: root/test/memorygrowth.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/memorygrowth.fromasm')
-rw-r--r--test/memorygrowth.fromasm2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/memorygrowth.fromasm b/test/memorygrowth.fromasm
index 3cec8a5a3..36e9590ed 100644
--- a/test/memorygrowth.fromasm
+++ b/test/memorygrowth.fromasm
@@ -1,5 +1,6 @@
(module
(memory 256 256)
+ (data (get_global $memInitBase) "memorygrowth.asm.js")
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
@@ -25,6 +26,7 @@
(import $xa "env" "___unlock" (param i32))
(import $ya "env" "___syscall146" (param i32 i32) (result i32))
(import $i32u-div "asm2wasm" "i32u-div" (param i32 i32) (result i32))
+ (import $memInitBase global "env" "memInitBase" i32)
(export "_free" $fb)
(export "_main" $Na)
(export "_pthread_self" $ib)