From 5c13c941de0f3824034e46e0c201f6efbb2d8694 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 24 Aug 2003 19:52:02 +0000 Subject: [PATCH] Remove some long-dead code llvm-svn: 8135 --- llvm/tools/lli/lli.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 4c48eb6f95ca..3b9414a8773a 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -59,22 +59,6 @@ int main(int argc, char** argv, const char ** envp) { exit(1); } -#if 0 - // Link in the runtime library for LLI... - std::string RuntimeLib = getCurrentExecutablePath(); - if (!RuntimeLib.empty()) RuntimeLib += "/"; - RuntimeLib += "RuntimeLib.bc"; - - if (Module *SupportLib = ParseBytecodeFile(RuntimeLib, &ErrorMsg)) { - if (LinkModules(M, SupportLib, &ErrorMsg)) - std::cerr << "Error Linking runtime library into current module: " - << ErrorMsg << "\n"; - } else { - std::cerr << "Error loading runtime library '"+RuntimeLib+"': " - << ErrorMsg << "\n"; - } -#endif - ExecutionEngine *EE = 0; // If there is nothing that is forcing us to use the interpreter, make a JIT.