summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PhysRegTracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/PhysRegTracker.h')
-rw-r--r--llvm/lib/CodeGen/PhysRegTracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PhysRegTracker.h b/llvm/lib/CodeGen/PhysRegTracker.h
index f5a240231cf..2717e337687 100644
--- a/llvm/lib/CodeGen/PhysRegTracker.h
+++ b/llvm/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) {
}
OpenPOWER on IntegriCloud