diff options
Diffstat (limited to 'test/dynamicLibrary.fromasm')
-rw-r--r-- | test/dynamicLibrary.fromasm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dynamicLibrary.fromasm b/test/dynamicLibrary.fromasm index edd7a60d0..813f7334a 100644 --- a/test/dynamicLibrary.fromasm +++ b/test/dynamicLibrary.fromasm @@ -1,14 +1,14 @@ (module (type $FUNCSIG$vi (func (param i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) - (import "env" "memory" (memory $0 256 256)) + (import "env" "memory" (memory $memory 256 256)) + (data (get_global $memoryBase) "dynamicLibrary.asm.js") (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "abortStackOverflow" (func $abortStackOverflow (param i32))) (import "env" "_puts" (func $_puts (param i32) (result i32))) (global $STACKTOP (mut i32) (i32.const 0)) (global $STACK_MAX (mut i32) (i32.const 0)) (global $_global i32 (i32.const 5242912)) - (data (get_global $memoryBase) "dynamicLibrary.asm.js") (export "__ZN3FooC2Ev" (func $__ZN3FooC2Ev)) (export "__post_instantiate" (func $__post_instantiate)) (export "runPostSets" (func $runPostSets)) |