tighten =.. code

This commit is contained in:
Mark Thom
2018-01-27 15:54:05 -07:00
parent 4f645b4664
commit 60440ea86b
5 changed files with 26 additions and 25 deletions

View File

@@ -1325,7 +1325,13 @@ impl MachineState {
self.unify(a, Addr::Con(Constant::Number(result)));
self.p += 1;
},
&BuiltInInstruction::GetArg =>
&BuiltInInstruction::GetArgCall =>
try_or_fail!(self, {
let val = self.try_get_arg();
self.p += 1;
val
}),
&BuiltInInstruction::GetArgExecute =>
try_or_fail!(self, {
let val = self.try_get_arg();
self.p = self.cp;