Explorer

core.wasm-runtime-closure-index

description
Runtime function 29 of the definy compiler (exported as closure_index): closure_index(function) -> i32: the index of the function in the function table. Local variable declarations and instructions, without the byte length (wasm.code-entry adds it)
type
List<Number>
expression
[
  0,
  @wasm.local-get,
  0,
  @wasm.gc-prefix,
  @wasm.ref-cast,
  @core.wasm-type-closure,
  @wasm.gc-prefix,
  @wasm.struct-get,
  @core.wasm-type-closure,
  1,
  @wasm.end
]
visibility
public
core.wasm-runtime-closure-index (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: CbcFysrh_5oBGUTw8wSTv2JsQiLAD5q2fsXfZZcnUpE
content hash: -4D5mJvM5bk39kXu45ayoIVcr2FJSJb_ujHcNZD2fxg