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

Method exec_jump_zero_32

crates/tinywasm/src/interpreter/executor.rs:834–837  ·  view source on GitHub ↗
(&mut self, target_ip: u32)

Source from the content-addressed store, hash-verified

832
833 #[inline(always)]
834 fn exec_jump_zero_32(&mut self, target_ip: u32) -> bool {
835 let cond = <i32>::stack_pop(&mut self.store.value_stack) == 0;
836 self.jump_if(cond, target_ip)
837 }
838
839 #[inline(always)]
840 fn exec_jump_non_zero_32(&mut self, target_ip: u32) -> bool {

Callers 1

execMethod · 0.80

Calls 1

jump_ifMethod · 0.80

Tested by

no test coverage detected