diff options
Diffstat (limited to 'test/dynamicLibrary.fromasm')
-rw-r--r-- | test/dynamicLibrary.fromasm | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/test/dynamicLibrary.fromasm b/test/dynamicLibrary.fromasm index cd0d1d224..4456edfa2 100644 --- a/test/dynamicLibrary.fromasm +++ b/test/dynamicLibrary.fromasm @@ -15,14 +15,6 @@ (export "__post_instantiate" (func $__post_instantiate)) (export "runPostSets" (func $runPostSets)) (export "_global" (global $_global)) - (func $___cxx_global_var_init - (call $__ZN3FooC2Ev - (i32.add - (get_global $memoryBase) - (i32.const 5242912) - ) - ) - ) (func $__ZN3FooC2Ev (param $0 i32) (local $1 i32) (set_local $1 @@ -52,9 +44,6 @@ (get_local $1) ) ) - (func $__GLOBAL__sub_I_liblib_cpp - (call $___cxx_global_var_init) - ) (func $runPostSets (nop) ) @@ -72,6 +61,11 @@ ) ) (call $runPostSets) - (call $__GLOBAL__sub_I_liblib_cpp) + (call $__ZN3FooC2Ev + (i32.add + (get_global $memoryBase) + (i32.const 5242912) + ) + ) ) ) |