diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-08 16:18:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-08 16:18:31 +0000 |
commit | 470754e3cae5daf83df8df10251fa6bf2743b2e0 (patch) | |
tree | 7d5ec23174182ae622de6ba62007e8699ce12e4f /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | 22e90434f3c5821fc694db8b6881e279037f5e5a (diff) | |
download | llvm-470754e3cae5daf83df8df10251fa6bf2743b2e0.zip llvm-470754e3cae5daf83df8df10251fa6bf2743b2e0.tar.gz llvm-470754e3cae5daf83df8df10251fa6bf2743b2e0.tar.bz2 |
A large number of simple changes:
* s/Method/Function
* Kill some obsolete (external) functions that used to be to support tracing
llvm-svn: 6041
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp index 5c11675..1c41841 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp @@ -32,7 +32,7 @@ Interpreter::Interpreter(Module *M, unsigned Config, setTargetData(TD); // Initialize the "backend" initializeExecutionEngine(); - initializeExternalMethods(); + initializeExternalFunctions(); CW.setModule(M); // Update Writer } @@ -42,7 +42,7 @@ int Interpreter::run(const std::string &MainFunction, const std::vector<std::string> &Args) { // Start interpreter into the main function... // - if (!callMainMethod(MainFunction, Args) && !Debug) { + if (!callMainFunction(MainFunction, Args) && !Debug) { // If not in debug mode and if the call succeeded, run the code now... run(); } |