forked from OSchip/llvm-project
[mips] Change type of MipsSubtarget ctor arguments s/std::string/StringRef/. NFC
llvm-svn: 303638
This commit is contained in:
parent
7f02d67fce
commit
039b02ec78
|
@ -59,9 +59,8 @@ static cl::opt<bool>
|
|||
|
||||
void MipsSubtarget::anchor() { }
|
||||
|
||||
MipsSubtarget::MipsSubtarget(const Triple &TT, const std::string &CPU,
|
||||
const std::string &FS, bool little,
|
||||
const MipsTargetMachine &TM)
|
||||
MipsSubtarget::MipsSubtarget(const Triple &TT, StringRef CPU, StringRef FS,
|
||||
bool little, const MipsTargetMachine &TM)
|
||||
: MipsGenSubtargetInfo(TT, CPU, FS), MipsArchVersion(MipsDefault),
|
||||
IsLittle(little), IsSoftFloat(false), IsSingleFloat(false), IsFPXX(false),
|
||||
NoABICalls(false), IsFP64bit(false), UseOddSPReg(true),
|
||||
|
|
|
@ -178,8 +178,8 @@ public:
|
|||
|
||||
/// This constructor initializes the data members to match that
|
||||
/// of the specified triple.
|
||||
MipsSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS,
|
||||
bool little, const MipsTargetMachine &TM);
|
||||
MipsSubtarget(const Triple &TT, StringRef CPU, StringRef FS, bool little,
|
||||
const MipsTargetMachine &TM);
|
||||
|
||||
/// ParseSubtargetFeatures - Parses features string setting specified
|
||||
/// subtarget options. Definition of function is auto generated by tblgen.
|
||||
|
|
Loading…
Reference in New Issue