llvm.org GIT mirror llvm / 0c8c0e8
Remove some long-dead code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8135 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 0 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
5858 exit(1);
5959 }
6060
61 #if 0
62 // Link in the runtime library for LLI...
63 std::string RuntimeLib = getCurrentExecutablePath();
64 if (!RuntimeLib.empty()) RuntimeLib += "/";
65 RuntimeLib += "RuntimeLib.bc";
66
67 if (Module *SupportLib = ParseBytecodeFile(RuntimeLib, &ErrorMsg)) {
68 if (LinkModules(M, SupportLib, &ErrorMsg))
69 std::cerr << "Error Linking runtime library into current module: "
70 << ErrorMsg << "\n";
71 } else {
72 std::cerr << "Error loading runtime library '"+RuntimeLib+"': "
73 << ErrorMsg << "\n";
74 }
75 #endif
76
7761 ExecutionEngine *EE = 0;
7862
7963 // If there is nothing that is forcing us to use the interpreter, make a JIT.