Remove unused VirtualMachine.call function

This commit is contained in:
Daniel Watkins committed 2018-08-10 12:34:01 -04:00
1 parent aba1daf674
commit 976a3f7a03
1 file changed
-7
-7
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)