[llvm-commits] CVS: llvm/tools/lli/lli.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 24 14:53:01 PDT 2003


Changes in directory llvm/tools/lli:

lli.cpp updated: 1.21 -> 1.22

---
Log message:

Remove some long-dead code


---
Diffs of the changes:

Index: llvm/tools/lli/lli.cpp
diff -u llvm/tools/lli/lli.cpp:1.21 llvm/tools/lli/lli.cpp:1.22
--- llvm/tools/lli/lli.cpp:1.21	Sun Aug 24 14:50:50 2003
+++ llvm/tools/lli/lli.cpp	Sun Aug 24 14:52:02 2003
@@ -59,22 +59,6 @@
     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.





More information about the llvm-commits mailing list