diff options
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430BranchSelector.cpp')
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430BranchSelector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp b/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp index 1c05b4bd6fb..ffcf22216d4 100644 --- a/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp +++ b/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp @@ -54,8 +54,8 @@ FunctionPass *llvm::createMSP430BranchSelectionPass() { } bool MSP430BSel::runOnMachineFunction(MachineFunction &Fn) { - const MSP430InstrInfo *TII = static_cast<const MSP430InstrInfo *>( - Fn.getTarget().getSubtargetImpl()->getInstrInfo()); + const MSP430InstrInfo *TII = + static_cast<const MSP430InstrInfo *>(Fn.getSubtarget().getInstrInfo()); // Give the blocks of the function a dense, in-order, numbering. Fn.RenumberBlocks(); BlockSizes.resize(Fn.getNumBlockIDs()); |