diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/MachineInstrBundle.cpp | 4 | ||||
-rw-r--r-- | lib/Target/ARM/Thumb2ITBlockPass.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/MachineInstrBundle.cpp b/lib/CodeGen/MachineInstrBundle.cpp index b766d08..ce8c09a 100644 --- a/lib/CodeGen/MachineInstrBundle.cpp +++ b/lib/CodeGen/MachineInstrBundle.cpp @@ -71,13 +71,13 @@ bool UnpackMachineBundles::runOnMachineFunction(MachineFunction &MF) { return Changed; } -/// FinalizeBundle - Finalize a machine instruction bundle which includes +/// finalizeBundle - Finalize a machine instruction bundle which includes /// a sequence of instructions starting from FirstMI to LastMI (inclusive). /// This routine adds a BUNDLE instruction to represent the bundle, it adds /// IsInternalRead markers to MachineOperands which are defined inside the /// bundle, and it copies externally visible defs and uses to the BUNDLE /// instruction. -void llvm::FinalizeBundle(MachineBasicBlock &MBB, +void llvm::finalizeBundle(MachineBasicBlock &MBB, MachineBasicBlock::instr_iterator FirstMI, MachineBasicBlock::instr_iterator LastMI) { const TargetMachine &TM = MBB.getParent()->getTarget(); diff --git a/lib/Target/ARM/Thumb2ITBlockPass.cpp b/lib/Target/ARM/Thumb2ITBlockPass.cpp index 55b4d30..6c4bb96 100644 --- a/lib/Target/ARM/Thumb2ITBlockPass.cpp +++ b/lib/Target/ARM/Thumb2ITBlockPass.cpp @@ -239,7 +239,7 @@ bool Thumb2ITBlockPass::InsertITInstructions(MachineBasicBlock &MBB) { LastITMI->findRegisterUseOperand(ARM::ITSTATE)->setIsKill(); // Finalize the bundle. - FinalizeBundle(MBB, InsertPos.getInstrIterator(), LastITMI); + finalizeBundle(MBB, InsertPos.getInstrIterator(), LastITMI); Modified = true; ++NumITs; |