mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 01:42:09 +00:00
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7cbf5a803e
commit
ce931c65ee
@ -22,7 +22,7 @@ namespace llvm {
|
||||
unsigned GlobalBaseReg;
|
||||
public:
|
||||
SparcMachineFunctionInfo() : GlobalBaseReg(0) {}
|
||||
SparcMachineFunctionInfo(MachineFunction &MF) : GlobalBaseReg(0) {}
|
||||
explicit SparcMachineFunctionInfo(MachineFunction &MF) : GlobalBaseReg(0) {}
|
||||
|
||||
unsigned getGlobalBaseReg() const { return GlobalBaseReg; }
|
||||
void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; }
|
||||
|
@ -33,7 +33,8 @@ class SystemZMachineFunctionInfo : public MachineFunctionInfo {
|
||||
public:
|
||||
SystemZMachineFunctionInfo() : CalleeSavedFrameSize(0) {}
|
||||
|
||||
SystemZMachineFunctionInfo(MachineFunction &MF) : CalleeSavedFrameSize(0) {}
|
||||
explicit SystemZMachineFunctionInfo(MachineFunction &MF)
|
||||
: CalleeSavedFrameSize(0) {}
|
||||
|
||||
unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
|
||||
void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
|
||||
|
Loading…
Reference in New Issue
Block a user