Move alignment from MCSectionData to MCSection.
[oota-llvm.git] / include / llvm / MC / ConstantPools.h
index ee7022bf17827b1c3a6547c7124198516be45129..9aa4663ba0fc9597ce0134141a0a799ebfab1a88 100644 (file)
@@ -73,7 +73,7 @@ class AssemblerConstantPools {
   // sections in a stable order to ensure that we have print the
   // constant pools in a deterministic order when printing an assembly
   // file.
-  typedef MapVector<const MCSection *, ConstantPool> ConstantPoolMapTy;
+  typedef MapVector<MCSection *, ConstantPool> ConstantPoolMapTy;
   ConstantPoolMapTy ConstantPools;
 
 public:
@@ -83,8 +83,8 @@ public:
                          unsigned Size);
 
 private:
-  ConstantPool *getConstantPool(const MCSection *Section);
-  ConstantPool &getOrCreateConstantPool(const MCSection *Section);
+  ConstantPool *getConstantPool(MCSection *Section);
+  ConstantPool &getOrCreateConstantPool(MCSection *Section);
 };
 } // end namespace llvm