diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-09-05 18:42:01 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-09-05 18:42:01 +0000 |
commit | 70975eef572b9e132bbaade16ba9edb76f15f287 (patch) | |
tree | edbaec8a92e10f18d1195cdb5d0fc1b59b4520d2 /lib/ExecutionEngine/JIT/JIT.h | |
parent | 5bea411ad288ea6f25ac296ae2d75a4bfab8bf98 (diff) |
Make CreateArgv part of lli rather than part of ExecutionEngine.
Switch Interpreter and JIT's "run" methods to take a Function and a vector of
GenericValues.
Move (almost all of) the stuff that constructs a canonical call to main()
into lli (new methods "callAsMain", "makeStringVector").
Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(),
isStopped(), and many dead decls from interpreter.
Add linux strdup() support to interpreter.
Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look
more alike, in preparation for refactoring.
atexit() is spelled "atexit", not "at_exit".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r-- | lib/ExecutionEngine/JIT/JIT.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h index 764afcf66f..9a7a645a4e 100644 --- a/lib/ExecutionEngine/JIT/JIT.h +++ b/lib/ExecutionEngine/JIT/JIT.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 |