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

Method run_frame

crates/vm/src/vm/mod.rs:1190–1195  ·  view source on GitHub ↗
(&self, frame: FrameRef)

Source from the content-addressed store, hash-verified

1188
1189 #[inline(always)]
1190 pub fn run_frame(&self, frame: FrameRef) -> PyResult {
1191 match self.with_frame(frame, |f| f.run(self))? {
1192 ExecutionResult::Return(value) => Ok(value),
1193 _ => panic!("Got unexpected result from function"),
1194 }
1195 }
1196
1197 /// Run `run` with main scope.
1198 fn with_simple_run(

Callers 5

invoke_with_localsMethod · 0.80
invoke_exact_argsMethod · 0.80
vectorcall_functionFunction · 0.80
run_code_objMethod · 0.80

Calls 2

with_frameMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected