Move alignment from MCSectionData to MCSection.
[oota-llvm.git] / lib / Target / NVPTX / NVPTXISelLowering.cpp
index 162dc55cd8094107838b279b1e747b2f305680af..805847a581fad910b229e5ef02afb294a4818f67 100644 (file)
@@ -4520,7 +4520,7 @@ NVPTXTargetObjectFile::~NVPTXTargetObjectFile() {
   delete DwarfRangesSection;
 }
 
-const MCSection *
+MCSection *
 NVPTXTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV,
                                               SectionKind Kind, Mangler &Mang,
                                               const TargetMachine &TM) const {