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

Method run

crates/vm/src/frame.rs:1019–1021  ·  view source on GitHub ↗

#[cfg_attr(feature = "flame-it", flame("Frame"))]

(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1017
1018 // #[cfg_attr(feature = "flame-it", flame("Frame"))]
1019 pub fn run(&self, vm: &VirtualMachine) -> PyResult<ExecutionResult> {
1020 self.with_exec(vm, |mut exec| exec.run(vm))
1021 }
1022
1023 pub(crate) fn resume(
1024 &self,

Callers 3

resumeMethod · 0.45
gen_throwMethod · 0.45

Calls 15

fire_reraiseFunction · 0.85
fire_raiseFunction · 0.85
fire_py_unwindFunction · 0.85
with_execMethod · 0.80
lastiMethod · 0.80
update_lastiMethod · 0.80
trace_eventMethod · 0.80
pending_stack_popsMethod · 0.80
read_opMethod · 0.80

Tested by

no test coverage detected