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

Method match_stack_limit

cranelift/reader/src/parser.rs:655–661  ·  view source on GitHub ↗

Match and consume a stack limit token

(&mut self)

Source from the content-addressed store, hash-verified

653
654 // Match and consume a stack limit token
655 fn match_stack_limit(&mut self) -> ParseResult<()> {
656 if let Some(Token::Identifier("stack_limit")) = self.token() {
657 self.consume();
658 return Ok(());
659 }
660 err!(self.loc, "expected identifier: stack_limit")
661 }
662
663 // Match and consume a block reference.
664 fn match_block(&mut self, err_msg: &str) -> ParseResult<Block> {

Callers 1

Calls 3

OkFunction · 0.85
tokenMethod · 0.80
consumeMethod · 0.45

Tested by

no test coverage detected