aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMMachineFunctionInfo.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/ARM/ARMMachineFunctionInfo.h
parentda634298fc5243932274ae261efcd351d5040630 (diff)
downloadexternal_llvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.zip
external_llvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.tar.gz
external_llvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.tar.bz2
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/ARM/ARMMachineFunctionInfo.h')
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMMachineFunctionInfo.h b/lib/Target/ARM/ARMMachineFunctionInfo.h
index 6662be1..0b0e289 100644
--- a/lib/Target/ARM/ARMMachineFunctionInfo.h
+++ b/lib/Target/ARM/ARMMachineFunctionInfo.h
@@ -100,7 +100,7 @@ public:
GPRCS1Frames(0), GPRCS2Frames(0), DPRCSFrames(0),
JumpTableUId(0), ConstPoolEntryUId(0) {}
- ARMFunctionInfo(MachineFunction &MF) :
+ explicit ARMFunctionInfo(MachineFunction &MF) :
isThumb(MF.getTarget().getSubtarget<ARMSubtarget>().isThumb()),
Align(isThumb ? 1U : 2U),
VarArgsRegSaveSize(0), HasStackFrame(false),