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

Method create_global_value

cranelift/frontend/src/frontend.rs:597–599  ·  view source on GitHub ↗

Declares a global value accessible to the function.

(&mut self, data: GlobalValueData)

Source from the content-addressed store, hash-verified

595
596 /// Declares a global value accessible to the function.
597 pub fn create_global_value(&mut self, data: GlobalValueData) -> GlobalValue {
598 self.func.create_global_value(data)
599 }
600
601 /// Returns an object with the [`InstBuilder`]
602 /// trait that allows to conveniently append an instruction to the current [`Block`] being built.

Callers 12

declare_data_in_funcMethod · 0.45
add_gvMethod · 0.45
compile_functionMethod · 0.45
vmctxMethod · 0.45
get_global_locationMethod · 0.45
global_loadMethod · 0.45
make_heapMethod · 0.45
make_heap_baseMethod · 0.45
make_tableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected