use of org.jikesrvm.compilers.opt.ir.operand.TrueGuardOperand in project JikesRVM by JikesRVM.
the class BranchSimplifier method insertTrueGuard.
private static void insertTrueGuard(Instruction inst, RegisterOperand guard) {
// Probably bad style but correct IR
if (guard == null)
return;
Instruction trueGuard = Move.create(GUARD_MOVE, guard.copyD2D(), new TrueGuardOperand());
trueGuard.copyPosition(inst);
inst.insertBefore(trueGuard);
DefUse.updateDUForNewInstruction(trueGuard);
}
Aggregations