summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-20 04:17:17 +0000
committerChris Lattner <sabre@nondot.org>2004-11-20 04:17:17 +0000
commit1deb74d7ee65308ec08c261482c659e89e3a11f6 (patch)
tree8eaf9ad32ace28d81566fdfd1c5369844959309c
parentb443bc0da7a671cd431901e43f9eff31cdd81791 (diff)
downloadllvm-1deb74d7ee65308ec08c261482c659e89e3a11f6.tar.gz
llvm-1deb74d7ee65308ec08c261482c659e89e3a11f6.tar.bz2
llvm-1deb74d7ee65308ec08c261482c659e89e3a11f6.tar.xz
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
-rw-r--r--lib/Target/PowerPC/PPCJITInfo.h6
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp6
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)