mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-21 19:20:50 +00:00
[mips] Change type of MipsSubtarget ctor arguments s/std::string/StringRef/. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07df6a5507
commit
de81712341
@ -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…
x
Reference in New Issue
Block a user