Skip to content

Instantly share code, notes, and snippets.

@yuri91
Created May 15, 2020 08:20
Show Gist options
  • Save yuri91/abfe150216a7e265486eb7262ef57ef4 to your computer and use it in GitHub Desktop.
Save yuri91/abfe150216a7e265486eb7262ef57ef4 to your computer and use it in GitHub Desktop.
(module
(type (;0;) (func (param i32) (result anyref)))
(type (;1;) (func (param anyref anyref) (result anyref)))
(type (;2;) (func (param anyref anyref)))
(type (;3;) (func (result anyref)))
(type (;4;) (func))
(import "i" "___wrapper__cheerpCreate_ZN6client6StringC2EPKc" (func (;0;) (type 0)))
(import "i" "___wrapper___ZN6client8Document13createElementERKNS_6StringE" (func (;1;) (type 1)))
(import "i" "___wrapper___ZN6client7Element13set_classNameERKNS_6StringE" (func (;2;) (type 2)))
(import "i" "___wrapper___ZN6client8documentE" (func (;3;) (type 3)))
(func $__wasm_nullptr (type 4)
unreachable)
(func $_Z6globalPKc (type 0) (param i32) (result anyref)
(local anyref anyref)
local.get 0
call 0
local.set 1
i32.const 1048584
call 0
local.set 2
call 3
local.get 2
call 1
local.tee 2
local.get 1
call 2
local.get 2)
(table (;0;) 1 funcref)
(memory (;0;) 17 128)
(global (;0;) (mut i32) (i32.const 1048576))
(export "memory" (memory 0))
(export "__Z6globalPKc" (func $_Z6globalPKc))
(elem (;0;) (i32.const 0) $__wasm_nullptr)
(data (;0;) (i32.const 1048584) "div"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment