proceed is a jump instruction
This commit is contained in:
@@ -457,6 +457,7 @@ impl ControlInstruction {
|
|||||||
&ControlInstruction::ThrowCall => true,
|
&ControlInstruction::ThrowCall => true,
|
||||||
&ControlInstruction::ThrowExecute => true,
|
&ControlInstruction::ThrowExecute => true,
|
||||||
&ControlInstruction::Goto(_, _) => true,
|
&ControlInstruction::Goto(_, _) => true,
|
||||||
|
&ControlInstruction::Proceed => true,
|
||||||
_ => false
|
_ => false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -413,10 +413,6 @@ impl Machine {
|
|||||||
self.record_var_places(cn, alloc_locs, heap_locs);
|
self.record_var_places(cn, alloc_locs, heap_locs);
|
||||||
cn += 1;
|
cn += 1;
|
||||||
},
|
},
|
||||||
&Line::BuiltIn(BuiltInInstruction::IsAtomic(_))
|
|
||||||
| &Line::BuiltIn(BuiltInInstruction::IsVar(_)) => {
|
|
||||||
self.record_var_places(cn, alloc_locs, heap_locs);
|
|
||||||
},
|
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user