Remove some long-dead code
authorChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 19:52:02 +0000 (19:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 19:52:02 +0000 (19:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8135 91177308-0d34-0410-b5e6-96231b3b80d8

tools/lli/lli.cpp

index 4c48eb6f95ca40ec6cd8a67ff35a81b00ac10b05..3b9414a8773aa17e57fc0cb054abfe54b8db18ab 100644 (file)
@@ -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.