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

Function release_datastack_frame

crates/vm/src/frame.rs:1145–1151  ·  view source on GitHub ↗
(frame: &Py<Frame>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1143}
1144
1145fn release_datastack_frame(frame: &Py<Frame>, vm: &VirtualMachine) {
1146 unsafe {
1147 if let Some(base) = frame.materialize_localsplus() {
1148 vm.datastack_pop(base);
1149 }
1150 }
1151}
1152
1153type BinaryOpExtendGuard = fn(&PyObject, &PyObject, &VirtualMachine) -> bool;
1154type BinaryOpExtendAction = fn(&PyObject, &PyObject, &VirtualMachine) -> Option<PyObjectRef>;

Calls 2

datastack_popMethod · 0.80

Tested by

no test coverage detected