build/CMake: Finish removal of add_llvm_library_dependencies.
[oota-llvm.git] / lib / Target / CellSPU / SPUSubtarget.h
index 19b97d3a0c79adc4b8d20b1ad59826bfa3228a61..7c4aa143021751d263bb24e4f9eea13fd79467e9 100644 (file)
@@ -23,6 +23,7 @@
 
 namespace llvm {
   class GlobalValue;
+  class StringRef;
 
   namespace SPU {
     enum {
@@ -57,7 +58,7 @@ namespace llvm {
     
     /// 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);
 
     /// SetJITMode - This is called to inform the subtarget info that we are
     /// producing code for the JIT.