diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-15 23:15:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-15 23:15:45 +0000 |
commit | c1d414ad713406c67c19ff2a1db861046a51cea9 (patch) | |
tree | cb9f592c3d6b3c34a061517b17e03d4c9f05747d /lib/VMCore/InlineAsm.cpp | |
parent | e63e5ab50ab37fd59cc6e815fffcb90e75537ca3 (diff) | |
download | llvm-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.cpp | 2 |
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()); } |