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

Method match_imm8

cranelift/reader/src/parser.rs:789–791  ·  view source on GitHub ↗

Match and consume an i8 immediate.

(&mut self, err_msg: &str)

Source from the content-addressed store, hash-verified

787
788 // Match and consume an i8 immediate.
789 fn match_imm8(&mut self, err_msg: &str) -> ParseResult<i8> {
790 match_imm!(i8, u8, self, err_msg)
791 }
792
793 // Match and consume a signed 16-bit immediate.
794 fn match_imm16(&mut self, err_msg: &str) -> ParseResult<i16> {

Callers 2

parse_data_valueMethod · 0.80
parse_inst_operandsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected