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

Method update_lasti

crates/vm/src/frame.rs:1373–1377  ·  view source on GitHub ↗
(&mut self, f: impl FnOnce(&mut u32))

Source from the content-addressed store, hash-verified

1371
1372 #[inline(always)]
1373 fn update_lasti(&mut self, f: impl FnOnce(&mut u32)) {
1374 let mut val = self.lasti.load(Relaxed);
1375 f(&mut val);
1376 self.lasti.store(val, Relaxed);
1377 }
1378
1379 #[inline(always)]
1380 fn lasti(&self) -> u32 {

Callers 6

runMethod · 0.80
execute_instructionMethod · 0.80
execute_instrumentedMethod · 0.80
jumpMethod · 0.80
jump_relative_forwardMethod · 0.80

Calls 3

fFunction · 0.50
loadMethod · 0.45
storeMethod · 0.45

Tested by

no test coverage detected