Skip to content

Commit 843baa7

Browse files
committed
add Stack::sync_ip API
This is important for resumable calls.
1 parent 866496a commit 843baa7

File tree

1 file changed

+4
-0
lines changed
  • crates/wasmi/src/engine/executor/handler

1 file changed

+4
-0
lines changed

crates/wasmi/src/engine/executor/handler/state.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ impl Stack {
281281
self.values.capacity()
282282
}
283283

284+
pub fn sync_ip(&mut self, ip: Ip) {
285+
self.frames.sync_ip(ip);
286+
}
287+
284288
pub fn return_prepare_host_frame<'a>(
285289
&'a mut self,
286290
callee_params: BoundedSlotSpan,

0 commit comments

Comments
 (0)