Revert r120580.
[oota-llvm.git] / lib / Target / X86 / X86MCAsmInfo.h
index 69716bfc07f60e7bfbe820802821109c77d9825c..581522567d09452f18a97c1bf4430717f498a2a7 100644 (file)
@@ -27,7 +27,7 @@ namespace llvm {
 
   struct X86ELFMCAsmInfo : public MCAsmInfo {
     explicit X86ELFMCAsmInfo(const Triple &Triple);
-    virtual MCSection *getNonexecutableStackSection(MCContext &Ctx) const;
+    virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const;
   };
 
   struct X86MCAsmInfoCOFF : public MCAsmInfoCOFF {