From b443bc0da7a671cd431901e43f9eff31cdd81791 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 20 Nov 2004 04:15:38 +0000 Subject: [PATCH] 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 --- lib/Target/Skeleton/SkeletonJITInfo.cpp | 6 ------ lib/Target/Skeleton/SkeletonJITInfo.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/lib/Target/Skeleton/SkeletonJITInfo.cpp b/lib/Target/Skeleton/SkeletonJITInfo.cpp index b33a44bff3a..23ef3df3dab 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 6424b0e8929..e48378ba4c1 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); }; }