correct inlining calling in last call context

This commit is contained in:
Mark Thom
2019-03-02 22:57:07 -07:00
parent e4cb904470
commit 77652d4458
6 changed files with 31 additions and 82 deletions

View File

@@ -186,7 +186,7 @@ impl MachineState {
pub(super)
fn set_p(&mut self) {
if self.last_call {
self.p = CodePtr::Local(self.cp.clone());
self.p = CodePtr::Local(self.cp);
} else {
self.p += 1;
}