Disable this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18130 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-11-22 21:51:40 +00:00
parent 6f71720be3
commit 213c969c92

View File

@ -78,7 +78,8 @@ unsigned JITResolver::resolveFunctionReference(unsigned RetAddr) {
assert(I != LazyCodeGenMap.end() && "Not in map!");
Function *F = I->second;
LazyCodeGenMap.erase(I);
return MCE.forceCompilationOf(F);
// FIXME: this needs to be rewritten.
return 0; //MCE.forceCompilationOf(F);
}
/// emitStubForFunction - This method is used by the JIT when it needs to emit
@ -220,8 +221,9 @@ unsigned PPC32CodeEmitter::getAddressOfExternalFunction(Function *F) {
static std::map<Function*, unsigned> ExternalFn2Addr;
std::map<Function*, unsigned>::iterator Addr = ExternalFn2Addr.find(F);
// FIXME: this needs to be rewritten.
if (Addr == ExternalFn2Addr.end())
ExternalFn2Addr[F] = MCE.forceCompilationOf(F);
ExternalFn2Addr[F] = 0; //MCE.forceCompilationOf(F);
return ExternalFn2Addr[F];
}