Index: src/IceRegAlloc.h |
diff --git a/src/IceRegAlloc.h b/src/IceRegAlloc.h |
index b53a6c913bccea0442bf1dff1bba4222f8d57892..1658a7d4d97e27468ce1e183929e681f00fd5d2f 100644 |
--- a/src/IceRegAlloc.h |
+++ b/src/IceRegAlloc.h |
@@ -27,8 +27,7 @@ class LinearScan { |
LinearScan &operator=(const LinearScan &) = delete; |
public: |
- explicit LinearScan(Cfg *Func) |
- : Func(Func), FindPreference(false), FindOverlap(false) {} |
+ explicit LinearScan(Cfg *Func) : Func(Func) {} |
void init(RegAllocKind Kind); |
void scan(const llvm::SmallBitVector &RegMask, bool Randomized); |
void dump(Cfg *Func) const; |
@@ -58,8 +57,8 @@ private: |
OrderedRanges UnhandledPrecolored; |
UnorderedRanges Active, Inactive, Handled; |
std::vector<InstNumberT> Kills; |
- bool FindPreference; |
- bool FindOverlap; |
+ bool FindPreference = false; |
+ bool FindOverlap = false; |
// TODO(stichnot): We're not really using FindOverlap yet, but we |
// may want a flavor of register allocation where FindPreference is |
// useful but we didn't want to initialize VMetadata with VMK_All |