Remove unused VirtualMachine.call function

This commit is contained in:
Daniel Watkins
2018-08-10 12:34:01 -04:00
parent aba1daf674
commit 976a3f7a03

View File

@@ -33,13 +33,6 @@ pub struct VirtualMachine {
}
impl VirtualMachine {
fn call(&mut self, f: PyObjectRef) -> PyResult {
let args = PyFuncArgs {
args: Vec::new(),
};
self.invoke(f, args)
}
pub fn run_code_obj(&mut self, code: PyObjectRef, scope: PyObjectRef) -> PyResult {
let frame = Frame::new(code, scope);
self.run_frame(frame)