Change:
[oota-llvm.git] / lib / CodeGen / MachineFunction.cpp
index cd2515652831b2f11c7a008fa98a61fe7a9feb13..20066a067b8f4766d14c3c9857610534fcc7b671 100644 (file)
@@ -619,7 +619,7 @@ void MachineJumpTableInfo::dump() const { print(dbgs()); }
 //  MachineConstantPool implementation
 //===----------------------------------------------------------------------===//
 
-const Type *MachineConstantPoolEntry::getType() const {
+Type *MachineConstantPoolEntry::getType() const {
   if (isMachineConstantPoolEntry())
     return Val.MachineCPVal->getType();
   return Val.ConstVal->getType();