1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Remove some long-dead code

llvm-svn: 8135
This commit is contained in:
Chris Lattner 2003-08-24 19:52:02 +00:00
parent 24b58d4b81
commit 3e77e87c15

View 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.