MCPcopy Index your code
hub / github.com/RustPython/RustPython / jump_relative_forward

Method jump_relative_forward

crates/vm/src/frame.rs:6885–6888  ·  view source on GitHub ↗
(&mut self, delta: u32, caches: u32)

Source from the content-addressed store, hash-verified

6883 /// targets, and debug builds will catch overflow via Rust's default checks.
6884 #[inline]
6885 fn jump_relative_forward(&mut self, delta: u32, caches: u32) {
6886 let target = self.lasti() + caches + delta;
6887 self.update_lasti(|i| *i = target);
6888 }
6889
6890 /// Jump backward by `delta` code units from after instruction + caches.
6891 ///

Callers 2

execute_instructionMethod · 0.80
pop_jump_if_relativeMethod · 0.80

Calls 2

lastiMethod · 0.80
update_lastiMethod · 0.80

Tested by

no test coverage detected