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

@ -1944,7 +1944,7 @@ void EmitX64::EmitCondPrelude(const IR::Block& block) {
// TODO: Improve, maybe.
auto fixup = code->J_CC(cc, true);
EmitAddCycles(block.cycle_count);
EmitAddCycles(block.cond_failed_cycle_count);
EmitTerminalLinkBlock(IR::Term::LinkBlock{block.cond_failed.get()}, block.location);
code->SetJumpTarget(fixup);
}