summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86MachineFunctionInfo.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-05 23:05:51 +0000
committerDan Gohman <gohman@apple.com>2009-06-05 23:05:51 +0000
commit2392efef1bd2599231ab659dd6ba4233bf5df94c (patch)
treeecc257454cf4744d4a99c7ce1e546901aca41e9f /lib/Target/X86/X86MachineFunctionInfo.h
parentda634298fc5243932274ae261efcd351d5040630 (diff)
downloadllvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.tar.gz
llvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.tar.bz2
llvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.tar.xz
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86MachineFunctionInfo.h')
-rw-r--r--lib/Target/X86/X86MachineFunctionInfo.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/Target/X86/X86MachineFunctionInfo.h b/lib/Target/X86/X86MachineFunctionInfo.h
index 8a5ac2c9a8..fafcf7e3d7 100644
--- a/lib/Target/X86/X86MachineFunctionInfo.h
+++ b/lib/Target/X86/X86MachineFunctionInfo.h
@@ -73,14 +73,15 @@ public:
SRetReturnReg(0),
GlobalBaseReg(0) {}
- X86MachineFunctionInfo(MachineFunction &MF) : ForceFramePointer(false),
- CalleeSavedFrameSize(0),
- BytesToPopOnReturn(0),
- DecorationStyle(None),
- ReturnAddrIndex(0),
- TailCallReturnAddrDelta(0),
- SRetReturnReg(0),
- GlobalBaseReg(0) {}
+ explicit X86MachineFunctionInfo(MachineFunction &MF)
+ : ForceFramePointer(false),
+ CalleeSavedFrameSize(0),
+ BytesToPopOnReturn(0),
+ DecorationStyle(None),
+ ReturnAddrIndex(0),
+ TailCallReturnAddrDelta(0),
+ SRetReturnReg(0),
+ GlobalBaseReg(0) {}
bool getForceFramePointer() const { return ForceFramePointer;}
void setForceFramePointer(bool forceFP) { ForceFramePointer = forceFP; }