diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-09-19 20:30:26 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-09-19 20:30:26 +0000 |
commit | 1303c0ab86b5381cc2fca5629aab9e68b6dbe079 (patch) | |
tree | 656974f793ee1e7c9fb9dbce6f2407c17443e7bf /llvm/tools/bugpoint/ExtractFunction.cpp | |
parent | 9996138a80533e8e6aa443f89411eacf867c47fa (diff) | |
download | bcm5719-llvm-1303c0ab86b5381cc2fca5629aab9e68b6dbe079.tar.gz bcm5719-llvm-1303c0ab86b5381cc2fca5629aab9e68b6dbe079.zip |
Remove the default value for ConstantStruct::get's isPacked parameter and
update the code which was broken by this.
llvm-svn: 82327
Diffstat (limited to 'llvm/tools/bugpoint/ExtractFunction.cpp')
-rw-r--r-- | llvm/tools/bugpoint/ExtractFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/ExtractFunction.cpp b/llvm/tools/bugpoint/ExtractFunction.cpp index df9277c10ff..918d6a6a2af 100644 --- a/llvm/tools/bugpoint/ExtractFunction.cpp +++ b/llvm/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()), |