MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / match_imm16

Method match_imm16

cranelift/reader/src/parser.rs:794–796  ·  view source on GitHub ↗

Match and consume a signed 16-bit immediate.

(&mut self, err_msg: &str)

Source from the content-addressed store, hash-verified

792
793 // Match and consume a signed 16-bit immediate.
794 fn match_imm16(&mut self, err_msg: &str) -> ParseResult<i16> {
795 match_imm!(i16, u16, self, err_msg)
796 }
797
798 // Match and consume an i32 immediate.
799 // This is used for stack argument byte offsets.

Callers 3

parse_data_valueMethod · 0.80
parse_inst_operandsMethod · 0.80
parse_as_imm16Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected