Home
last modified time | relevance | path

Searched refs:FrameStateSlotOffset (Results 1 – 3 of 3) sorted by relevance

/wasmtime-44.0.1/crates/environ/src/compile/
H A Dframe_table.rs12 FrameInstPos, FrameStackShape, FrameStateSlotOffset, FrameTableDescriptorIndex, FrameValType,
27 locals: Vec<(FrameValType, FrameStateSlotOffset)>,
30 stacks: Vec<(Option<FrameStackShape>, FrameValType, FrameStateSlotOffset)>,
34 HashMap<(Option<FrameStackShape>, FrameValType, FrameStateSlotOffset), FrameStackShape>,
85 pub fn add_local(&mut self, ty: FrameValType) -> FrameStateSlotOffset { in add_local() argument
88 let offset = FrameStateSlotOffset(self.vmctx_size + self.locals_size); in add_local()
97 pub fn local_offset(&self, local: u32) -> FrameStateSlotOffset { in local_offset() argument
108 ) -> (FrameStackShape, FrameStateSlotOffset) { in push_stack() argument
117 .unwrap_or(FrameStateSlotOffset(self.vmctx_size + self.locals_size)); in push_stack()
137 pub fn stack_last_offset(&self, shape: FrameStackShape) -> FrameStateSlotOffset { in stack_last_offset() argument
/wasmtime-44.0.1/crates/environ/src/
H A Dframe_table.rs411 pub struct FrameStateSlotOffset(pub(crate) u32); struct
412 impl FrameStateSlotOffset { implementation
414 pub(crate) fn add(self, offset: u32) -> FrameStateSlotOffset { in add() argument
415 FrameStateSlotOffset(self.0 + offset) in add()
567 pub fn locals(&self) -> impl Iterator<Item = (FrameStateSlotOffset, FrameValType)> { in locals()
572 pub fn local(&self, index: usize) -> Option<(FrameStateSlotOffset, FrameValType)> { in local() argument
573 let offset = FrameStateSlotOffset(self.local_offsets.get(index)?.get(LittleEndian)); in local()
588 ) -> impl Iterator<Item = (FrameStateSlotOffset, FrameValType)> { in stack()
603 FrameStateSlotOffset(self.stack_shape_offsets[s.index()].get(LittleEndian)); in stack()
616 ) -> impl Iterator<Item = (FrameStateSlotOffset, FrameValType)> + '_ { in stack_and_locals()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Ddebug.rs27 FrameStateSlotOffset, FrameTableBreakpointData, FrameTableDescriptorIndex, FrameValType,
711 locals: Vec<(FrameStateSlotOffset, FrameValType)>,
718 stack: Vec<(FrameStateSlotOffset, FrameValType)>,
771 offset: FrameStateSlotOffset, in read_value() argument