diff options
-rw-r--r-- | lib/Target/PowerPC/PPCJITInfo.h | 6 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCTargetMachine.cpp | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.h b/lib/Target/PowerPC/PPCJITInfo.h index 5c9bbb437c..05c5b9a6d3 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 b25915e25a..269ddaef07 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) |