codegen fix

This commit is contained in:
Mark Thom
2016-10-30 00:19:25 -06:00
parent 63075c9739
commit 509b7838c7
3 changed files with 14 additions and 9 deletions

View File

@@ -170,7 +170,9 @@ impl MachineState {
self.registers[reg] = self.heap[self.h].clone();
self.h += 1;
}
};
};
self.s += 1;
},
MachineInstruction::UnifyValue(reg) => {
let s = self.s;