summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-22 21:51:40 +0000
committerChris Lattner <sabre@nondot.org>2004-11-22 21:51:40 +0000
commit0e7faedde708efa9a8293a1015d3e0fd4adff67c (patch)
treef21b9d13e8224f9c02e22e486fa02c714dc0bf63 /llvm/lib
parent213e39ee7cd54853337980ff3b0b9d45230c04d0 (diff)
downloadbcm5719-llvm-0e7faedde708efa9a8293a1015d3e0fd4adff67c.tar.gz
bcm5719-llvm-0e7faedde708efa9a8293a1015d3e0fd4adff67c.zip
Disable this.
llvm-svn: 18130
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp b/llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
index a63a7a3a797..31a603d53b6 100644
--- a/llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
+++ b/llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
@@ -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];
}
OpenPOWER on IntegriCloud