Explorer

core.wasm-runtime-record-get

description
Runtime function 6 of the definy compiler: record_get(record, key) -> value: the value of the field of the key. unreachable when absent. Local variable declarations and instructions, without the byte length (wasm.code-entry adds it)
type
List<Number>
expression
[
  2,
  2,
  @wasm.value-type-i32,
  1,
  @wasm.value-type-ref-null,
  @core.wasm-type-values,
  @wasm.local-get,
  0,
  @wasm.call,
  19,
  @wasm.local-tee,
  4,
  @wasm.gc-prefix,
  @wasm.array-len,
  @wasm.local-set,
  3,
  @wasm.i32-const,
  0,
  @wasm.local-set,
  2,
  @wasm.block,
  @wasm.block-type-empty,
  @wasm.loop,
  @wasm.block-type-empty,
  @wasm.local-get,
  2,
  @wasm.local-get,
  3,
  @wasm.i32-ge-u,
  @wasm.br-if,
  1,
  @wasm.local-get,
  4,
  @wasm.local-get,
  2,
  @wasm.gc-prefix,
  @wasm.array-get,
  @core.wasm-type-values,
  @wasm.local-get,
  1,
  @wasm.call,
  4,
  @wasm.if,
  @wasm.block-type-empty,
  @wasm.local-get,
  4,
  @wasm.local-get,
  2,
  @wasm.i32-const,
  1,
  @wasm.i32-add,
  @wasm.gc-prefix,
  @wasm.array-get,
  @core.wasm-type-values,
  @wasm.return,
  @wasm.end,
  @wasm.local-get,
  2,
  @wasm.i32-const,
  2,
  @wasm.i32-add,
  @wasm.local-set,
  2,
  @wasm.br,
  0,
  @wasm.end,
  @wasm.end,
  @wasm.unreachable,
  @wasm.end
]
visibility
public
core.wasm-runtime-record-get (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: jruCsRe_fW4PjPLgNW3IhYJNnn1VWyKRzfwrnsEamOw
content hash: Pr0CEtyq96Txkspbrs4SGf1H1EBAd-sGWm-wNfyJs9E