deconstify getType()'s.
[oota-llvm.git] / lib / VMCore / InlineAsm.cpp
index 5ae4a1bb94fc61c725331a5921af0cc09ffc67d1..4a03b395e98e767369cda5af54680736fb60d502 100644 (file)
@@ -51,7 +51,7 @@ void InlineAsm::destroyConstant() {
   delete this;
 }
 
-const FunctionType *InlineAsm::getFunctionType() const {
+FunctionType *InlineAsm::getFunctionType() const {
   return cast<FunctionType>(getType()->getElementType());
 }