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 | 59324297650c12a8dccf1a7ad650a9e895fdc17e (patch) | |
| tree | fb52c6e19359d66d87961588b41f2f98ffb894b3 /lib/Target/Mips/MipsISelLowering.cpp | |
| parent | 77fffa6fdd389ad6d70a42b36c1c36c768c2de41 (diff) | |
| download | external_llvm-59324297650c12a8dccf1a7ad650a9e895fdc17e.zip external_llvm-59324297650c12a8dccf1a7ad650a9e895fdc17e.tar.gz external_llvm-59324297650c12a8dccf1a7ad650a9e895fdc17e.tar.bz2 | |
Stop casting away const qualifier needlessly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsISelLowering.cpp')
| -rw-r--r-- | lib/Target/Mips/MipsISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 91f91b1..aa7b459 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/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())) { |
