From 37a716fa80464a2ec17f602befcdfe24a1e644eb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Feb 2004 04:07:32 +0000 Subject: Remove dependence on return type of ConstantStruct::get llvm-svn: 11466 --- llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms') 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, -- cgit v1.2.3