Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ top
Method
top
crates/cranelift/src/debug/transform/unit.rs:42–44 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
40
}
41
42
pub fn top(&self) -> Option<&T> {
43
self.stack.last().map(|entry| &entry.1)
44
}
45
46
pub fn top_with_depth_mut(&mut self, depth: isize) -> Option<&mut T> {
47
self.stack
Callers
13
reference_type
Function · 0.45
translate_table_get
Method · 0.45
emit_table_set
Method · 0.45
translate_ref_null
Method · 0.45
translate_ref_is_null
Method · 0.45
emit_raw_array_or_table_fill
Method · 0.45
emit_raw_array_or_table_copy
Method · 0.45
module_initialize_passive_element
Method · 0.45
clone_unit
Function · 0.45
read_field_at_addr
Function · 0.45
write_field_at_addr
Function · 0.45
translate_ref_test
Function · 0.45
Calls
2
map
Method · 0.45
last
Method · 0.45
Tested by
no test coverage detected