translate_arm: Translate more than one conditional instruction in a block

This commit is contained in:
MerryMage 2016-08-25 03:18:27 +01:00
parent aa9b63bac4
commit dc26afbd7e
4 changed files with 38 additions and 7 deletions

View file

@ -69,6 +69,8 @@ public:
Arm::Cond cond = Arm::Cond::AL;
/// Block to execute next if `cond` did not pass.
boost::optional<Arm::LocationDescriptor> cond_failed = {};
/// Number of cycles this block takes to execute if the conditional fails.
size_t cond_failed_cycle_count = 0;
/// List of instructions in this block.
InstructionList instructions;