clean up call clause stuff.
This commit is contained in:
@@ -1196,8 +1196,8 @@ pub enum BuiltInInstruction {
|
|||||||
CleanUpBlock,
|
CleanUpBlock,
|
||||||
CompareNumber(CompareNumberQT, ArithmeticTerm, ArithmeticTerm),
|
CompareNumber(CompareNumberQT, ArithmeticTerm, ArithmeticTerm),
|
||||||
DefaultRetryMeElse(usize),
|
DefaultRetryMeElse(usize),
|
||||||
DefaultTrustMe,
|
|
||||||
DefaultSetCutPoint(RegType),
|
DefaultSetCutPoint(RegType),
|
||||||
|
DefaultTrustMe,
|
||||||
EraseBall,
|
EraseBall,
|
||||||
Fail,
|
Fail,
|
||||||
GetArg(bool), // last call.
|
GetArg(bool), // last call.
|
||||||
|
|||||||
@@ -536,7 +536,7 @@ fn get_builtins() -> Code {
|
|||||||
put_value!(perm_v!(2), 3),
|
put_value!(perm_v!(2), 3),
|
||||||
put_value!(perm_v!(5), 4),
|
put_value!(perm_v!(5), 4),
|
||||||
put_value!(perm_v!(1), 5)],
|
put_value!(perm_v!(1), 5)],
|
||||||
goto_call!(404, 5), // goto call_with_inference_limit/4, 404.
|
goto_call!(404, 5), // goto call_with_inference_limit/5, 404.
|
||||||
query![put_value!(perm_v!(1), 1)],
|
query![put_value!(perm_v!(1), 1)],
|
||||||
deallocate!(),
|
deallocate!(),
|
||||||
remove_call_policy_check!(),
|
remove_call_policy_check!(),
|
||||||
|
|||||||
@@ -161,10 +161,10 @@ impl fmt::Display for BuiltInInstruction {
|
|||||||
write!(f, "clean_up_block"),
|
write!(f, "clean_up_block"),
|
||||||
&BuiltInInstruction::CompareNumber(cmp, ref at_1, ref at_2) =>
|
&BuiltInInstruction::CompareNumber(cmp, ref at_1, ref at_2) =>
|
||||||
write!(f, "number_test {}, {}, {} ", cmp, at_1, at_2),
|
write!(f, "number_test {}, {}, {} ", cmp, at_1, at_2),
|
||||||
|
&BuiltInInstruction::DefaultRetryMeElse(o) =>
|
||||||
|
write!(f, "default_retry_me_else {}", o),
|
||||||
&BuiltInInstruction::DefaultSetCutPoint(r) =>
|
&BuiltInInstruction::DefaultSetCutPoint(r) =>
|
||||||
write!(f, "default_set_cp {}", r),
|
write!(f, "default_set_cp {}", r),
|
||||||
&BuiltInInstruction::DefaultRetryMeElse(o) =>
|
|
||||||
write!(f, "default_retry_me_else {}", o),
|
|
||||||
&BuiltInInstruction::DefaultTrustMe =>
|
&BuiltInInstruction::DefaultTrustMe =>
|
||||||
write!(f, "default_trust_me"),
|
write!(f, "default_trust_me"),
|
||||||
&BuiltInInstruction::InstallInferenceCounter(r1, r2, r3) =>
|
&BuiltInInstruction::InstallInferenceCounter(r1, r2, r3) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user