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

Method push_value

crates/vm/src/frame.rs:9323–9325  ·  view source on GitHub ↗
(&mut self, obj: PyObjectRef)

Source from the content-addressed store, hash-verified

9321 #[inline]
9322 #[track_caller]
9323 fn push_value(&mut self, obj: PyObjectRef) {
9324 self.push_stackref_opt(Some(PyStackRef::new_owned(obj)));
9325 }
9326
9327 /// Push a borrowed reference onto the stack (no refcount increment).
9328 ///

Callers 15

resumeMethod · 0.80
gen_throwMethod · 0.80
execute_instructionMethod · 0.80
execute_instrumentedMethod · 0.80
importMethod · 0.80
unwind_blocksMethod · 0.80
execute_build_mapMethod · 0.80
execute_build_sliceMethod · 0.80
execute_callMethod · 0.80

Calls 2

push_stackref_optMethod · 0.80
SomeClass · 0.50

Tested by

no test coverage detected