summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/VM.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/VM.h')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/VM.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/VM.h b/llvm/lib/ExecutionEngine/JIT/VM.h
index 764afcf66fe..9a7a645a4ee 100644
--- a/llvm/lib/ExecutionEngine/JIT/VM.h
+++ b/llvm/lib/ExecutionEngine/JIT/VM.h
@@ -33,9 +33,8 @@ public:
/// run - Start execution with the specified function and arguments.
///
- virtual int run(const std::string &FnName,
- const std::vector<std::string> &Args,
- const char ** envp);
+ virtual GenericValue run(Function *F,
+ const std::vector<GenericValue> &ArgValues);
/// getPointerToNamedFunction - This method returns the address of the
/// specified function by using the dlsym function call. As such it is only
OpenPOWER on IntegriCloud