getJITStubForFunction is optional and unimplemented, just remove it for now.
authorChris Lattner <sabre@nondot.org>
Sat, 20 Nov 2004 04:15:38 +0000 (04:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 20 Nov 2004 04:15:38 +0000 (04:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18037 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Skeleton/SkeletonJITInfo.cpp
lib/Target/Skeleton/SkeletonJITInfo.h

index b33a44bff3afe341736c0b056959e092b1a822d2..23ef3df3dab1c9ab5accdefd0077550069cc12c6 100644 (file)
@@ -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");
 }
index 6424b0e8929cd734f3ea7f2c0f4f9858b0dad604..e48378ba4c1b327cb36e528ae868bc0b92463347 100644 (file)
@@ -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);
   };
 }