Index: src/IceRegAlloc.h |
diff --git a/src/IceRegAlloc.h b/src/IceRegAlloc.h |
index c5c1c9e74e0a91a21ec38144cd18cf8a57a93ef4..b53a6c913bccea0442bf1dff1bba4222f8d57892 100644 |
--- a/src/IceRegAlloc.h |
+++ b/src/IceRegAlloc.h |
@@ -22,11 +22,12 @@ |
namespace Ice { |
class LinearScan { |
+ LinearScan() = delete; |
LinearScan(const LinearScan &) = delete; |
LinearScan &operator=(const LinearScan &) = delete; |
public: |
- LinearScan(Cfg *Func) |
+ explicit LinearScan(Cfg *Func) |
: Func(Func), FindPreference(false), FindOverlap(false) {} |
void init(RegAllocKind Kind); |
void scan(const llvm::SmallBitVector &RegMask, bool Randomized); |