aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PhysRegTracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/PhysRegTracker.h')
-rw-r--r--lib/CodeGen/PhysRegTracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PhysRegTracker.h b/lib/CodeGen/PhysRegTracker.h
index f5a240231c..2717e33768 100644
--- a/lib/CodeGen/PhysRegTracker.h
+++ b/lib/CodeGen/PhysRegTracker.h
@@ -26,7 +26,7 @@ namespace llvm {
std::vector<unsigned> regUse_;
public:
- PhysRegTracker(const MRegisterInfo& mri)
+ explicit PhysRegTracker(const MRegisterInfo& mri)
: mri_(&mri),
regUse_(mri_->getNumRegs(), 0) {
}