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

Method def_gv

cranelift/reader/src/sourcemap.rs:168–170  ·  view source on GitHub ↗

Define the global value `entity`.

(&mut self, entity: GlobalValue, loc: Location)

Source from the content-addressed store, hash-verified

166
167 /// Define the global value `entity`.
168 pub fn def_gv(&mut self, entity: GlobalValue, loc: Location) -> ParseResult<()> {
169 self.def_entity(entity.into(), loc)
170 }
171
172 /// Define the signature `entity`.
173 pub fn def_sig(&mut self, entity: SigRef, loc: Location) -> ParseResult<()> {

Callers 1

add_gvMethod · 0.80

Calls 1

def_entityMethod · 0.80

Tested by

no test coverage detected