From ae5ac03c1d70c99f6620935dbbfa9fd525cc32b9 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. llvm-svn: 18037 --- llvm/lib/Target/Skeleton/SkeletonJITInfo.cpp | 6 ------ llvm/lib/Target/Skeleton/SkeletonJITInfo.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/llvm/lib/Target/Skeleton/SkeletonJITInfo.cpp b/llvm/lib/Target/Skeleton/SkeletonJITInfo.cpp index b33a44bff3af..23ef3df3dab1 100644 --- a/llvm/lib/Target/Skeleton/SkeletonJITInfo.cpp +++ b/llvm/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/llvm/lib/Target/Skeleton/SkeletonJITInfo.h b/llvm/lib/Target/Skeleton/SkeletonJITInfo.h index 6424b0e8929c..e48378ba4c1b 100644 --- a/llvm/lib/Target/Skeleton/SkeletonJITInfo.h +++ b/llvm/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); }; }