summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsSubtarget.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-05-23 19:50:50 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-05-23 19:50:50 +0000
commit41a024385f1220eadc48b48cb4c044a5fbc1b361 (patch)
tree84e4c7c067cf7671696a466e471ce202604ffb81 /lib/Target/Mips/MipsSubtarget.h
parenta14be3b26472b31af81c988edb0b9c05711f875f (diff)
Propagate CPU string out of SubtargetFeatures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.h')
-rw-r--r--lib/Target/Mips/MipsSubtarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h
index 656199a69ac..62d5e969ee2 100644
--- a/lib/Target/Mips/MipsSubtarget.h
+++ b/lib/Target/Mips/MipsSubtarget.h
@@ -109,7 +109,8 @@ 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);
+ std::string ParseSubtargetFeatures(const std::string &FS,
+ const std::string &CPU);
bool hasMips2Ops() const { return MipsArchVersion >= Mips2; }