aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-20 04:15:38 +0000
committerChris Lattner <sabre@nondot.org>2004-11-20 04:15:38 +0000
commitb443bc0da7a671cd431901e43f9eff31cdd81791 (patch)
tree1afcb9cd495fc43343939a4431199fd5360379da
parenta8b0fa5172dc46f53cf8b8ef1aa9c9b4e70ff998 (diff)
getJITStubForFunction is optional and unimplemented, just remove it for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18037 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Skeleton/SkeletonJITInfo.cpp6
-rw-r--r--lib/Target/Skeleton/SkeletonJITInfo.h6
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/Skeleton/SkeletonJITInfo.cpp b/lib/Target/Skeleton/SkeletonJITInfo.cpp
index b33a44bff3..23ef3df3da 100644
--- a/lib/Target/Skeleton/SkeletonJITInfo.cpp
+++ b/lib/Target/Skeleton/SkeletonJITInfo.cpp
@@ -25,12 +25,6 @@ bool SkeletonTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
return true; // Not implemented yet!
}
-void *SkeletonJITInfo::getJITStubForFunction(Function *F,
- MachineCodeEmitter &MCE) {
- assert (0 && "getJITStubForFunction not implemented");
- return 0;
-}
-
void SkeletonJITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
assert (0 && "replaceMachineCodeForFunction not implemented");
}
diff --git a/lib/Target/Skeleton/SkeletonJITInfo.h b/lib/Target/Skeleton/SkeletonJITInfo.h
index 6424b0e892..e48378ba4c 100644
--- a/lib/Target/Skeleton/SkeletonJITInfo.h
+++ b/lib/Target/Skeleton/SkeletonJITInfo.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);
};
}