summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-24 19:52:02 +0000
committerChris Lattner <sabre@nondot.org>2003-08-24 19:52:02 +0000
commit0c8c0e80cafab40db16cc82941896d127c3b66cf (patch)
treee4bd29baa8ad62d5774e35cfa741fef4594e11e2 /tools
parent39c07264da992fd5d37fa7eaac0b9f02f55f80d0 (diff)
downloadllvm-0c8c0e80cafab40db16cc82941896d127c3b66cf.tar.gz
llvm-0c8c0e80cafab40db16cc82941896d127c3b66cf.tar.bz2
llvm-0c8c0e80cafab40db16cc82941896d127c3b66cf.tar.xz
Remove some long-dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/lli/lli.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp
index 4c48eb6f95..3b9414a877 100644
--- a/tools/lli/lli.cpp
+++ b/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.