summaryrefslogtreecommitdiff
path: root/tools/bugpoint/ExtractFunction.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-09-19 20:30:26 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-09-19 20:30:26 +0000
commitc332fba8285e35a5a11463c34795af84f3960759 (patch)
tree6f13654fe13746b91469913b6d1e9536c10a37e9 /tools/bugpoint/ExtractFunction.cpp
parentcea1438cf59c7cd3a632d61d78e68589315510d3 (diff)
downloadllvm-c332fba8285e35a5a11463c34795af84f3960759.tar.gz
llvm-c332fba8285e35a5a11463c34795af84f3960759.tar.bz2
llvm-c332fba8285e35a5a11463c34795af84f3960759.tar.xz
Remove the default value for ConstantStruct::get's isPacked parameter and
update the code which was broken by this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ExtractFunction.cpp')
-rw-r--r--tools/bugpoint/ExtractFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/ExtractFunction.cpp b/tools/bugpoint/ExtractFunction.cpp
index df9277c10f..918d6a6a2a 100644
--- a/tools/bugpoint/ExtractFunction.cpp
+++ b/tools/bugpoint/ExtractFunction.cpp
@@ -189,8 +189,8 @@ static Constant *GetTorInit(std::vector<std::pair<Function*, int> > &TorList) {
Elts.push_back(ConstantInt::get(
Type::getInt32Ty(TorList[i].first->getContext()), TorList[i].second));
Elts.push_back(TorList[i].first);
- ArrayElts.push_back(ConstantStruct::get(
- TorList[i].first->getContext(), Elts));
+ ArrayElts.push_back(ConstantStruct::get(TorList[i].first->getContext(),
+ Elts, false));
}
return ConstantArray::get(ArrayType::get(ArrayElts[0]->getType(),
ArrayElts.size()),