[MCJIT] Start Stringref-izing the ExecutionEngine interface.
[oota-llvm.git] / lib / ExecutionEngine / MCJIT / MCJIT.h
index 624a4317a3b7e284347d4c6753d02a9087139393..bc943b9b886643ff020a4f91cfc56732a6e7d869 100644 (file)
@@ -293,7 +293,7 @@ public:
   /// found, this function silently returns a null pointer. Otherwise,
   /// it prints a message to stderr and aborts.
   ///
-  void *getPointerToNamedFunction(const std::string &Name,
+  void *getPointerToNamedFunction(StringRef Name,
                                   bool AbortOnFailure = true) override;
 
   /// mapSectionAddress - map a section to its target address space value.