Change MCOperand to use Create style instead of Make style for constructing
[oota-llvm.git] / include / llvm / GlobalValue.h
index d53d49bfec1097b80ada39aee0f5e7d7cfa8439d..7b0de34d9cb6fd5c2dd218efc34d61665219238c 100644 (file)
@@ -90,7 +90,7 @@ public:
   
   bool hasSection() const { return !Section.empty(); }
   const std::string &getSection() const { return Section; }
-  void setSection(const std::string &S) { Section = S; }
+  void setSection(const StringRef &S) { Section = S; }
   
   /// If the usage is empty (except transitively dead constants), then this
   /// global value can can be safely deleted since the destructor will