mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-21 03:37:47 +00:00
Remove some long-dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39c07264da
commit
0c8c0e80ca
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user