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
This commit is contained in:
Chris Lattner 2004-11-20 04:17:17 +00:00
parent b443bc0da7
commit 1deb74d7ee
2 changed files with 0 additions and 12 deletions

View File

@ -37,12 +37,6 @@ namespace llvm {
/// code. /// code.
/// ///
virtual void replaceMachineCodeForFunction(void *Old, void *New); 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);
}; };
} }

View File

@ -138,12 +138,6 @@ void PowerPCJITInfo::replaceMachineCodeForFunction(void *Old, void *New) {
assert(0 && "Cannot execute PowerPCJITInfo::replaceMachineCodeForFunction()"); 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 /// PowerPCTargetMachine ctor - Create an ILP32 architecture model
/// ///
PPC32TargetMachine::PPC32TargetMachine(const Module &M, IntrinsicLowering *IL) PPC32TargetMachine::PPC32TargetMachine(const Module &M, IntrinsicLowering *IL)