summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-14 11:10:04 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-14 11:10:04 +0000
commit44a4bf95ddf16cfc9cad36a5fd1936fd67a9b06a (patch)
tree76e7acd9873577be00b1c08c671e547d968ec167
parente9dc9c2bebb1a7503bf71befe7d8c4daae964c1e (diff)
downloadbcm5719-llvm-44a4bf95ddf16cfc9cad36a5fd1936fd67a9b06a.tar.gz
bcm5719-llvm-44a4bf95ddf16cfc9cad36a5fd1936fd67a9b06a.zip
[MachineOutliner] Add missing initializers for OutlinedFunction. NFCI.
Appeases MSVC/cppcheck. llvm-svn: 366014
-rw-r--r--llvm/include/llvm/CodeGen/MachineOutliner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineOutliner.h b/llvm/include/llvm/CodeGen/MachineOutliner.h
index 377df4e18a2..3868fa41557 100644
--- a/llvm/include/llvm/CodeGen/MachineOutliner.h
+++ b/llvm/include/llvm/CodeGen/MachineOutliner.h
@@ -171,13 +171,13 @@ public:
/// Represents the size of a sequence in bytes. (Some instructions vary
/// widely in size, so just counting the instructions isn't very useful.)
- unsigned SequenceSize;
+ unsigned SequenceSize = 0;
/// Target-defined overhead of constructing a frame for this function.
- unsigned FrameOverhead;
+ unsigned FrameOverhead = 0;
/// Target-defined identifier for constructing a frame for this function.
- unsigned FrameConstructionID;
+ unsigned FrameConstructionID = 0;
/// Return the number of candidates for this \p OutlinedFunction.
unsigned getOccurrenceCount() const { return Candidates.size(); }
OpenPOWER on IntegriCloud