diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-22 21:51:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-22 21:51:40 +0000 |
commit | 213c969c92ce8cffbc085429a5f4eb08a412d195 (patch) | |
tree | 7008f39de090fc3f65125aa8078f675e4221ccd0 /lib/Target/PowerPC/PPCCodeEmitter.cpp | |
parent | 6f71720be3c67f6bffd3976805e577995d779a2f (diff) | |
download | external_llvm-213c969c92ce8cffbc085429a5f4eb08a412d195.zip external_llvm-213c969c92ce8cffbc085429a5f4eb08a412d195.tar.gz external_llvm-213c969c92ce8cffbc085429a5f4eb08a412d195.tar.bz2 |
Disable this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCCodeEmitter.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCCodeEmitter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp index a63a7a3..31a603d 100644 --- a/lib/Target/PowerPC/PPCCodeEmitter.cpp +++ b/lib/Target/PowerPC/PPCCodeEmitter.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]; } |