commit | 371064481a9b15b1f73b7b021ec1c808c6fa5d1f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Feb 15 04:05:58 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Feb 15 04:05:58 2004 +0000 |
tree | 3589aea227ca7e69c6be33ebded3eea9f97f4284 | |
parent | aab54da21c8c9d38430d8681c63b633b7e7bf71c [diff] [blame] |
Remove dependence on the return type of ConstantArray::get git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11463 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Instrumentation/EmitFunctions.cpp b/lib/Transforms/Instrumentation/EmitFunctions.cpp index 57254b9..0025d3e 100644 --- a/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/lib/Transforms/Instrumentation/EmitFunctions.cpp
@@ -89,7 +89,7 @@ cstruct, "llvmFunctionTable"); M.getGlobalList().push_back(gb); - ConstantArray *constArray = ConstantArray::get(ArrayType::get(Type::SByteTy, + Constant *constArray = ConstantArray::get(ArrayType::get(Type::SByteTy, sBCons.size()), sBCons);