commit | 04d1fb6df9799009c1ad7d7c5a6419d48c916ff7 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Feb 15 04:07:32 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Feb 15 04:07:32 2004 +0000 |
tree | 1364dc3e89f6f26d4ab22b328579d40187e2cc6a | |
parent | 371064481a9b15b1f73b7b021ec1c808c6fa5d1f [diff] [blame] |
Remove dependence on return type of ConstantStruct::get git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11466 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Instrumentation/EmitFunctions.cpp b/lib/Transforms/Instrumentation/EmitFunctions.cpp index 0025d3e..c74f93c 100644 --- a/lib/Transforms/Instrumentation/EmitFunctions.cpp +++ b/lib/Transforms/Instrumentation/EmitFunctions.cpp
@@ -82,7 +82,7 @@ } 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,