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

Method match_imm32

cranelift/reader/src/parser.rs:800–802  ·  view source on GitHub ↗

Match and consume an i32 immediate. This is used for stack argument byte offsets.

(&mut self, err_msg: &str)

Source from the content-addressed store, hash-verified

798 // Match and consume an i32 immediate.
799 // This is used for stack argument byte offsets.
800 fn match_imm32(&mut self, err_msg: &str) -> ParseResult<i32> {
801 match_imm!(i32, u32, self, err_msg)
802 }
803
804 // Match and consume an i128 immediate.
805 fn match_imm128(&mut self, err_msg: &str) -> ParseResult<i128> {

Callers 3

parse_data_valueMethod · 0.80
parse_inst_operandsMethod · 0.80
parse_as_imm32Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected