summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-15 04:07:32 +0000
committerChris Lattner <sabre@nondot.org>2004-02-15 04:07:32 +0000
commit37a716fa80464a2ec17f602befcdfe24a1e644eb (patch)
treed7556456ea3c8054000e0e00825fd889eddbbef0 /llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
parentc75bf528c1e29bf07bc8f7e76085e2950eae493e (diff)
downloadbcm5719-llvm-37a716fa80464a2ec17f602befcdfe24a1e644eb.tar.gz
bcm5719-llvm-37a716fa80464a2ec17f602befcdfe24a1e644eb.zip
Remove dependence on return type of ConstantStruct::get
llvm-svn: 11466
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
index 0025d3e2b60..c74f93c94b8 100644
--- a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
+++ b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
@@ -82,7 +82,7 @@ bool EmitFunctionTable::run(Module &M){
}
StructType *sttype = StructType::get(vType);
- ConstantStruct *cstruct = ConstantStruct::get(sttype, vConsts);
+ Constant *cstruct = ConstantStruct::get(sttype, vConsts);
GlobalVariable *gb = new GlobalVariable(cstruct->getType(), true,
GlobalValue::ExternalLinkage,
OpenPOWER on IntegriCloud