diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-15 04:05:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-15 04:05:58 +0000 |
commit | 371064481a9b15b1f73b7b021ec1c808c6fa5d1f (patch) | |
tree | 3589aea227ca7e69c6be33ebded3eea9f97f4284 /lib/Transforms/Instrumentation/EmitFunctions.cpp | |
parent | aab54da21c8c9d38430d8681c63b633b7e7bf71c (diff) |
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
Diffstat (limited to 'lib/Transforms/Instrumentation/EmitFunctions.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/EmitFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/EmitFunctions.cpp b/lib/Transforms/Instrumentation/EmitFunctions.cpp index 57254b9080..0025d3e2b6 100644 --- a/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/lib/Transforms/Instrumentation/EmitFunctions.cpp @@ -89,7 +89,7 @@ bool EmitFunctionTable::run(Module &M){ 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); |