We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a157405 commit 5cec48eCopy full SHA for 5cec48e
zenlang/src/vm/opcodes/vm_call.rs
@@ -40,7 +40,7 @@ impl VM {
40
self.check_stack_overflow();
41
self.pc = addr;
42
43
- self.environs.push(env.clone());
+ self.environs.push(env);
44
45
let this_name = &String::from("self");
46
let environ = self.environs.last_mut().unwrap();
zenlang/src/vm/vm.rs
@@ -130,7 +130,7 @@ impl VM {
130
if function.name == entry_fn_name {
131
self.pc.set_low(function.addr as u32);
132
self.pc.set_high(i as u32);
133
- //self.push_environment();
+ self.push_environment();
134
return Ok(());
135
}
136
0 commit comments