deconstify getType()'s.
[oota-llvm.git] / include / llvm / InlineAsm.h
index ed5bf8b38af12a165acfd68d03644bb8c79f4506..a98aff178cc43a98b434367a1d77ce322437a531 100644 (file)
@@ -64,13 +64,13 @@ public:
   
   /// getType - InlineAsm's are always pointers.
   ///
-  const PointerType *getType() const {
-    return reinterpret_cast<const PointerType*>(Value::getType());
+  PointerType *getType() const {
+    return reinterpret_cast<PointerType*>(Value::getType());
   }
   
   /// getFunctionType - InlineAsm's are always pointers to functions.
   ///
-  const FunctionType *getFunctionType() const;
+  FunctionType *getFunctionType() const;
   
   const std::string &getAsmString() const { return AsmString; }
   const std::string &getConstraintString() const { return Constraints; }