From: Chris Lattner Date: Sat, 20 Nov 2004 04:17:17 +0000 (+0000) Subject: Remove this method, it's not clear how it could be implemented indep of 32 or 64... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1deb74d7ee65308ec08c261482c659e89e3a11f6;p=oota-llvm.git Remove this method, it's not clear how it could be implemented indep of 32 or 64-bit mode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18038 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCJITInfo.h b/lib/Target/PowerPC/PPCJITInfo.h index 5c9bbb437c2..05c5b9a6d3f 100644 --- a/lib/Target/PowerPC/PPCJITInfo.h +++ b/lib/Target/PowerPC/PPCJITInfo.h @@ -37,12 +37,6 @@ namespace llvm { /// code. /// virtual void replaceMachineCodeForFunction(void *Old, void *New); - - /// getJITStubForFunction - Create or return a stub for the specified - /// function. This stub acts just like the specified function, except that - /// it allows the "address" of the function to be taken without having to - /// generate code for it. - virtual void *getJITStubForFunction(Function *F, MachineCodeEmitter &MCE); }; } diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index b25915e25a1..269ddaef078 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -138,12 +138,6 @@ void PowerPCJITInfo::replaceMachineCodeForFunction(void *Old, void *New) { assert(0 && "Cannot execute PowerPCJITInfo::replaceMachineCodeForFunction()"); } -void *PowerPCJITInfo::getJITStubForFunction(Function *F, - MachineCodeEmitter &MCE) { - assert(0 && "Cannot execute PowerPCJITInfo::getJITStubForFunction()"); - return 0; -} - /// PowerPCTargetMachine ctor - Create an ILP32 architecture model /// PPC32TargetMachine::PPC32TargetMachine(const Module &M, IntrinsicLowering *IL)