[MCJIT] Start Stringref-izing the ExecutionEngine interface.
[oota-llvm.git] / include / llvm / ExecutionEngine / ExecutionEngine.h
index 78dd8cd0f856d25fd970513c5d6a43b85cff50e9..5863d5759da6c4e2d4a1f5949bee7f0860adf5d5 100644 (file)
@@ -215,7 +215,7 @@ public:
   /// it prints a message to stderr and aborts.
   ///
   /// This function is deprecated for the MCJIT execution engine.
-  virtual void *getPointerToNamedFunction(const std::string &Name,
+  virtual void *getPointerToNamedFunction(StringRef Name,
                                           bool AbortOnFailure = true) = 0;
 
   /// mapSectionAddress - map a section to its target address space value.