summaryrefslogtreecommitdiff
path: root/lib/VMCore/InlineAsm.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-15 23:15:45 +0000
committerChris Lattner <sabre@nondot.org>2011-07-15 23:15:45 +0000
commitc1d414ad713406c67c19ff2a1db861046a51cea9 (patch)
treecb9f592c3d6b3c34a061517b17e03d4c9f05747d /lib/VMCore/InlineAsm.cpp
parente63e5ab50ab37fd59cc6e815fffcb90e75537ca3 (diff)
downloadllvm-c1d414ad713406c67c19ff2a1db861046a51cea9.tar.gz
llvm-c1d414ad713406c67c19ff2a1db861046a51cea9.tar.bz2
llvm-c1d414ad713406c67c19ff2a1db861046a51cea9.tar.xz
deconstify getType()'s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/InlineAsm.cpp')
-rw-r--r--lib/VMCore/InlineAsm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/InlineAsm.cpp b/lib/VMCore/InlineAsm.cpp
index 5ae4a1bb94..4a03b395e9 100644
--- a/lib/VMCore/InlineAsm.cpp
+++ b/lib/VMCore/InlineAsm.cpp
@@ -51,7 +51,7 @@ void InlineAsm::destroyConstant() {
delete this;
}
-const FunctionType *InlineAsm::getFunctionType() const {
+FunctionType *InlineAsm::getFunctionType() const {
return cast<FunctionType>(getType()->getElementType());
}