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

Method tag_ptr

crates/wasmtime/src/runtime/vm/instance.rs:445–447  ·  view source on GitHub ↗

Return the indexed `VMTagDefinition`.

(&self, index: DefinedTagIndex)

Source from the content-addressed store, hash-verified

443
444 /// Return the indexed `VMTagDefinition`.
445 pub fn tag_ptr(&self, index: DefinedTagIndex) -> NonNull<VMTagDefinition> {
446 unsafe { self.vmctx_plus_offset_raw(self.offsets().vmctx_vmtag_definition(index)) }
447 }
448
449 /// Return the indexed `VMTableDefinition`.
450 pub fn table(&self, index: DefinedTableIndex) -> VMTableDefinition {

Callers 1

vmimportMethod · 0.80

Calls 3

vmctx_plus_offset_rawMethod · 0.80
offsetsMethod · 0.45

Tested by

no test coverage detected