diff options
| author | Roman Divacky <rdivacky@freebsd.org> | 2012-09-05 22:26:57 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@freebsd.org> | 2012-09-05 22:26:57 +0000 |
| commit | ad06cee239ab6baaa8bdd8ce3b381faf1cc0e8f1 (patch) | |
| tree | bdd8f9546bc9b5b2df114c513474027b0bb5c7d5 /llvm/lib/Target/Mips/MipsISelLowering.cpp | |
| parent | cbd2a1983f77fc655d7dd620e6287c82776c5698 (diff) | |
| download | bcm5719-llvm-ad06cee239ab6baaa8bdd8ce3b381faf1cc0e8f1.tar.gz bcm5719-llvm-ad06cee239ab6baaa8bdd8ce3b381faf1cc0e8f1.zip | |
Stop casting away const qualifier needlessly.
llvm-svn: 163258
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp index 91f91b115c9..aa7b459ff08 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.cpp +++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp @@ -1571,7 +1571,7 @@ SDValue MipsTargetLowering::LowerGlobalAddress(SDValue Op, if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !IsN64) { SDVTList VTs = DAG.getVTList(MVT::i32); - MipsTargetObjectFile &TLOF = (MipsTargetObjectFile&)getObjFileLowering(); + const MipsTargetObjectFile &TLOF = (const MipsTargetObjectFile&)getObjFileLowering(); // %gp_rel relocation if (TLOF.IsGlobalInSmallSection(GV, getTargetMachine())) { |

