summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/RegisterScavenging.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-05 20:40:15 +0000
committerDan Gohman <gohman@apple.com>2007-07-05 20:40:15 +0000
commit27e9d457d4047cf0051e17d9ca39740875d11440 (patch)
tree4746ec25cb603dcd7d9a1b660613a27c705c52d2 /include/llvm/CodeGen/RegisterScavenging.h
parentd27df628cc6fa29605fa221a2f0b03b4592caf03 (diff)
downloadllvm-27e9d457d4047cf0051e17d9ca39740875d11440.tar.gz
llvm-27e9d457d4047cf0051e17d9ca39740875d11440.tar.bz2
llvm-27e9d457d4047cf0051e17d9ca39740875d11440.tar.xz
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/RegisterScavenging.h')
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/RegisterScavenging.h b/include/llvm/CodeGen/RegisterScavenging.h
index 01db6a231e..ec23e760fa 100644
--- a/include/llvm/CodeGen/RegisterScavenging.h
+++ b/include/llvm/CodeGen/RegisterScavenging.h
@@ -57,7 +57,7 @@ public:
: MBB(NULL), NumPhysRegs(0), Tracking(false),
ScavengingFrameIndex(-1), ScavengedReg(0), ScavengedRC(NULL) {};
- RegScavenger(MachineBasicBlock *mbb)
+ explicit RegScavenger(MachineBasicBlock *mbb)
: MBB(mbb), NumPhysRegs(0), Tracking(false),
ScavengingFrameIndex(-1), ScavengedReg(0), ScavengedRC(NULL) {};