mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-28 06:58:19 +00:00
Disable this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18130 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f71720be3
commit
213c969c92
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user