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 | c75bf528c1e29bf07bc8f7e76085e2950eae493e (patch) | |
tree | 5d9eca3555ea5c864d541d9712f08212adfd1754 /llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp | |
parent | 5d56c478bac04bfa17b6a8222915031a81f48b87 (diff) | |
download | bcm5719-llvm-c75bf528c1e29bf07bc8f7e76085e2950eae493e.tar.gz bcm5719-llvm-c75bf528c1e29bf07bc8f7e76085e2950eae493e.zip |
Remove dependence on the return type of ConstantArray::get
llvm-svn: 11463
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp index 57254b90800..0025d3e2b60 100644 --- a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/llvm/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); |