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

Method make_invalid_value_for_parser

cranelift/codegen/src/ir/dfg.rs:1576–1582  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1574 /// the parser to pad out the value index space.
1575 #[cold]
1576 pub fn make_invalid_value_for_parser(&mut self) {
1577 let data = ValueData::Alias {
1578 ty: types::INVALID,
1579 original: Value::reserved_value(),
1580 };
1581 self.make_value(data);
1582 }
1583
1584 /// Check if a value reference is valid, while being aware of aliases which
1585 /// may be unresolved while parsing.

Callers 2

parse_basic_blockMethod · 0.80
parse_block_paramMethod · 0.80

Calls 1

make_valueMethod · 0.80

Tested by

no test coverage detected