From 470754e3cae5daf83df8df10251fa6bf2743b2e0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 8 May 2003 16:18:31 +0000 Subject: A large number of simple changes: * s/Method/Function * Kill some obsolete (external) functions that used to be to support tracing llvm-svn: 6041 --- llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp') diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp index 5c116757ca4..1c41841b812 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 &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(); } -- cgit v1.2.3