Disable this.
authorChris Lattner <sabre@nondot.org>
Mon, 22 Nov 2004 21:51:40 +0000 (21:51 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 22 Nov 2004 21:51:40 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18130 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCCodeEmitter.cpp

index a63a7a3a797c81c41a431df063a3533887e7dea5..31a603d53b6dc9a43c6c8afb09e81549cc005389 100644 (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];
 }