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

Method new

crates/jit/tests/common.rs:180–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178
179impl StackMachine {
180 pub fn new() -> StackMachine {
181 StackMachine {
182 stack: Vec::new(),
183 locals: HashMap::new(),
184 }
185 }
186
187 pub fn run(&mut self, code: CodeObject) {
188 let mut op_arg_state = OpArgState::default();

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected