diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-09 17:59:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-09 17:59:15 +0000 |
commit | aca50a94b8d4863adf07eec980b83599c541ed99 (patch) | |
tree | f66ecabbce2895eba5867c9668c12209306f7a21 /lib/VMCore/Type.cpp | |
parent | 1afcace3a3a138b1b18e5c6270caa8dae2261ae2 (diff) | |
download | llvm-aca50a94b8d4863adf07eec980b83599c541ed99.tar.gz llvm-aca50a94b8d4863adf07eec980b83599c541ed99.tar.bz2 llvm-aca50a94b8d4863adf07eec980b83599c541ed99.tar.xz |
remove the DerivedType which isn't adding value anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Type.cpp')
-rw-r--r-- | lib/VMCore/Type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index 734d43a017..ac8b76ff1e 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -308,7 +308,7 @@ APInt IntegerType::getMask() const { FunctionType::FunctionType(const Type *Result, ArrayRef<Type*> Params, bool IsVarArgs) - : DerivedType(Result->getContext(), FunctionTyID) { + : Type(Result->getContext(), FunctionTyID) { Type **SubTys = reinterpret_cast<Type**>(this+1); assert(isValidReturnType(Result) && "invalid return type for function"); setSubclassData(IsVarArgs); |