Skip to content

Instantly share code, notes, and snippets.

@vmesel
Created July 20, 2018 18:48
Show Gist options
  • Save vmesel/98be66c9497da4450191942e8edc78d2 to your computer and use it in GitHub Desktop.
Save vmesel/98be66c9497da4450191942e8edc78d2 to your computer and use it in GitHub Desktop.
(module
(type (;0;) (func (param i32)))
(type (;1;) (func (param i32 i32) (result i32)))
(type (;2;) (func))
(type (;3;) (func (result f64)))
(import "env" "table" (table (;0;) 2 anyfunc))
(import "env" "memoryBase" (global (;0;) i32))
(import "env" "tableBase" (global (;1;) i32))
(import "env" "abort" (func (;0;) (type 0)))
(import "env" "_consoleLog" (func (;1;) (type 0)))
(func (;2;) (type 1) (param i32 i32) (result i32)
i32.const 5
call 1
i32.const 0)
(func (;3;) (type 2)
nop)
(func (;4;) (type 2)
get_global 0
set_global 2
get_global 2
i32.const 5242880
i32.add
set_global 3)
(func (;5;) (type 3) (result f64)
i32.const 0
call 0
f64.const 0x0p+0 (;=0;))
(global (;2;) (mut i32) (i32.const 0))
(global (;3;) (mut i32) (i32.const 0))
(global (;4;) i32 (i32.const 1))
(export "__post_instantiate" (func 4))
(export "_main" (func 2))
(export "runPostSets" (func 3))
(export "fp$_main" (global 4))
(elem (get_global 1) 5 2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment