diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-07 07:07:08 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-07 07:07:08 +0000 |
commit | 1a72add615cdea9454f681491b8c00c1ae191d64 (patch) | |
tree | 83856a98cad75009e8c3dd614846550afbca896a /llvm/lib/Target/Mips/MipsSubtarget.h | |
parent | 4db5c3c83a22268ff0eeaa6ca7fd500668533487 (diff) | |
download | bcm5719-llvm-1a72add615cdea9454f681491b8c00c1ae191d64.tar.gz bcm5719-llvm-1a72add615cdea9454f681491b8c00c1ae191d64.zip |
Compute feature bits at time of MCSubtargetInfo initialization.
llvm-svn: 134606
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSubtarget.h')
-rw-r--r-- | llvm/lib/Target/Mips/MipsSubtarget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsSubtarget.h b/llvm/lib/Target/Mips/MipsSubtarget.h index ae76470f5e3..533d4afe073 100644 --- a/llvm/lib/Target/Mips/MipsSubtarget.h +++ b/llvm/lib/Target/Mips/MipsSubtarget.h @@ -22,6 +22,7 @@ #include "MipsGenSubtargetInfo.inc" namespace llvm { +class StringRef; class MipsSubtarget : public MipsGenSubtargetInfo { @@ -99,7 +100,7 @@ public: /// ParseSubtargetFeatures - Parses features string setting specified /// subtarget options. Definition of function is auto generated by tblgen. - void ParseSubtargetFeatures(const std::string &FS, const std::string &CPU); + void ParseSubtargetFeatures(StringRef CPU, StringRef FS); bool isMips1() const { return MipsArchVersion == Mips1; } bool isMips32() const { return MipsArchVersion >= Mips32; } |