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

Method run

crates/jit/tests/common.rs:187–193  ·  view source on GitHub ↗
(&mut self, code: CodeObject)

Source from the content-addressed store, hash-verified

185 }
186
187 pub fn run(&mut self, code: CodeObject) {
188 let mut op_arg_state = OpArgState::default();
189 let _ = code.instructions.iter().try_for_each(|&word| {
190 let (instruction, arg) = op_arg_state.get(word);
191 self.process_instruction(instruction, arg, &code.constants, &code.names)
192 });
193 }
194
195 fn process_instruction(
196 &mut self,

Callers

nothing calls this directly

Calls 3

process_instructionMethod · 0.80
iterMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected