[MCJIT] Start Stringref-izing the ExecutionEngine interface.
[oota-llvm.git] / lib / ExecutionEngine / Interpreter / Interpreter.h
index 70b07d5bece66c6b252f91b913b6b851ea4ae671..0b620d1f8d7c840a31ed50d1ee1aa7cac5d5813e 100644 (file)
@@ -116,7 +116,7 @@ public:
   GenericValue runFunction(Function *F,
                            const std::vector<GenericValue> &ArgValues) override;
 
-  void *getPointerToNamedFunction(const std::string &Name,
+  void *getPointerToNamedFunction(StringRef Name,
                                   bool AbortOnFailure = true) override {
     // FIXME: not implemented.
     return nullptr;