2 (type $FUNCSIG$vi (func (param i32)))
3 (type $FUNCSIG$ii (func (param i32) (result i32)))
4 (import "env" "memoryBase" (global $memoryBase i32))
5 (import "env" "abortStackOverflow" (func $abortStackOverflow (param i32)))
6 (import "env" "_puts" (func $_puts (param i32) (result i32)))
7 (import "env" "memory" (memory $0 256 256))
8 (import "env" "table" (table 0 0 anyfunc))
9 (import "env" "tableBase" (global $tableBase i32))
10 (global $STACKTOP (mut i32) (i32.const 0))
11 (global $STACK_MAX (mut i32) (i32.const 0))
12 (global $_global i32 (i32.const 5242912))
13 (data (get_global $memoryBase) "dynamicLibrary.asm.js")
14 (export "__ZN3FooC2Ev" (func $__ZN3FooC2Ev))
15 (export "__post_instantiate" (func $__post_instantiate))
16 (export "runPostSets" (func $runPostSets))
17 (export "_global" (global $_global))
18 (func $__ZN3FooC2Ev (; 2 ;) (param $0 i32)
21 (get_global $STACKTOP)
25 (get_global $STACKTOP)
31 (get_global $STACKTOP)
32 (get_global $STACK_MAX)
34 (call $abortStackOverflow
40 (get_global $memoryBase)
47 (func $runPostSets (; 3 ;)
50 (func $__post_instantiate (; 4 ;)
53 (get_global $memoryBase)
57 (set_global $STACK_MAX
59 (get_global $STACKTOP)
66 (get_global $memoryBase)