MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / exec_return_32

Method exec_return_32

crates/tinywasm/src/interpreter/executor.rs:1123–1128  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1121
1122 #[inline(always)]
1123 fn exec_return_32(&mut self) -> bool {
1124 self.store.value_stack.stack_32.truncate_to_one_tail(self.cf.locals_base.s32 as usize);
1125 self.store.value_stack.stack_64.truncate_to(self.cf.locals_base.s64 as usize);
1126 self.store.value_stack.stack_128.truncate_to(self.cf.locals_base.s128 as usize);
1127 self.finish_return()
1128 }
1129
1130 #[inline(always)]
1131 fn exec_return_64(&mut self) -> bool {

Callers 1

execMethod · 0.80

Calls 3

truncate_to_one_tailMethod · 0.80
finish_returnMethod · 0.80
truncate_toMethod · 0.45

Tested by

no test coverage detected