summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@anl.gov>2019-08-14 22:32:29 +0000
committerJohannes Doerfert <jdoerfert@anl.gov>2019-08-14 22:32:29 +0000
commit54f6be7b833556595695efd270f7cfa9e904bb8a (patch)
treee721d37260a2167d5cd85cb73d0da5599bcb60c6 /llvm/lib/Transforms
parent62abe494fb36cd4c523d36f05cb0e3839df50c04 (diff)
downloadbcm5719-llvm-54f6be7b833556595695efd270f7cfa9e904bb8a.tar.gz
bcm5719-llvm-54f6be7b833556595695efd270f7cfa9e904bb8a.zip
[Attributor] Try to fix "missing field 'RetInsts' initializer" warning
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/35674/steps/build_Lld/logs/stdio llvm-svn: 368938
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/Attributor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Attributor.cpp b/llvm/lib/Transforms/IPO/Attributor.cpp
index aac00d5b994..b49e64426e8 100644
--- a/llvm/lib/Transforms/IPO/Attributor.cpp
+++ b/llvm/lib/Transforms/IPO/Attributor.cpp
@@ -735,7 +735,7 @@ ChangeStatus AAReturnedValuesImpl::updateImpl(Attributor &A) {
// Callback for all "return intructions" live in the associated function.
auto CheckReturnInst = [this, &VisitReturnedValue, &Changed](Instruction &I) {
ReturnInst &Ret = cast<ReturnInst>(I);
- RVState RVS({ReturnedValues, false});
+ RVState RVS({ReturnedValues, false, {}});
RVS.RetInsts.insert(&Ret);
Changed |= RVS.Changed;
return VisitReturnedValue(*Ret.getReturnValue(), RVS);
OpenPOWER on IntegriCloud