mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +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:
@@ -78,7 +78,8 @@ unsigned JITResolver::resolveFunctionReference(unsigned RetAddr) {
|
|||||||
assert(I != LazyCodeGenMap.end() && "Not in map!");
|
assert(I != LazyCodeGenMap.end() && "Not in map!");
|
||||||
Function *F = I->second;
|
Function *F = I->second;
|
||||||
LazyCodeGenMap.erase(I);
|
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
|
/// 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;
|
static std::map<Function*, unsigned> ExternalFn2Addr;
|
||||||
std::map<Function*, unsigned>::iterator Addr = ExternalFn2Addr.find(F);
|
std::map<Function*, unsigned>::iterator Addr = ExternalFn2Addr.find(F);
|
||||||
|
|
||||||
|
// FIXME: this needs to be rewritten.
|
||||||
if (Addr == ExternalFn2Addr.end())
|
if (Addr == ExternalFn2Addr.end())
|
||||||
ExternalFn2Addr[F] = MCE.forceCompilationOf(F);
|
ExternalFn2Addr[F] = 0; //MCE.forceCompilationOf(F);
|
||||||
return ExternalFn2Addr[F];
|
return ExternalFn2Addr[F];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user