[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp PPC32JITInfo.h PPC64CodeEmitter.cpp PPC64JITInfo.h

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 19 20:14:58 PST 2004



Changes in directory llvm/lib/Target/PowerPC:

PPC32CodeEmitter.cpp updated: 1.12 -> 1.13
PPC32JITInfo.h updated: 1.2 -> 1.3
PPC64CodeEmitter.cpp updated: 1.2 -> 1.3
PPC64JITInfo.h updated: 1.2 -> 1.3
---
Log message:

getJITStubForFunction is optional and unimplemented, just remove it.


---
Diffs of the changes:  (+0 -23)

Index: llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
diff -u llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp:1.12 llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp:1.13
--- llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp:1.12	Mon Nov 15 22:47:32 2004
+++ llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp	Fri Nov 19 22:14:44 2004
@@ -334,11 +334,6 @@
   return rv;
 }
 
-
-void *PPC32JITInfo::getJITStubForFunction(Function *F, MachineCodeEmitter &MCE){
-  return (void*)((unsigned long)getResolver(MCE).getLazyResolver(F));
-}
-
 void PPC32JITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
   std::cerr << "PPC32JITInfo::replaceMachineCodeForFunction not implemented\n";
   abort();


Index: llvm/lib/Target/PowerPC/PPC32JITInfo.h
diff -u llvm/lib/Target/PowerPC/PPC32JITInfo.h:1.2 llvm/lib/Target/PowerPC/PPC32JITInfo.h:1.3
--- llvm/lib/Target/PowerPC/PPC32JITInfo.h:1.2	Wed Aug 11 02:40:04 2004
+++ llvm/lib/Target/PowerPC/PPC32JITInfo.h	Fri Nov 19 22:14:44 2004
@@ -30,12 +30,6 @@
     /// 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);
   };
 }
 


Index: llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp
diff -u llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp:1.2 llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp:1.3
--- llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp:1.2	Mon Nov 15 22:47:33 2004
+++ llvm/lib/Target/PowerPC/PPC64CodeEmitter.cpp	Fri Nov 19 22:14:44 2004
@@ -29,12 +29,6 @@
   // PM.add(createMachineCodeDeleter());
 }
 
-void *PPC64JITInfo::getJITStubForFunction(Function *F,
-                                           MachineCodeEmitter &MCE) {
-  assert (0 && "PPC64JITInfo::getJITStubForFunction not implemented");
-  return 0;
-}
-
 void PPC64JITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
   assert (0 && "PPC64JITInfo::replaceMachineCodeForFunction not implemented");
 }


Index: llvm/lib/Target/PowerPC/PPC64JITInfo.h
diff -u llvm/lib/Target/PowerPC/PPC64JITInfo.h:1.2 llvm/lib/Target/PowerPC/PPC64JITInfo.h:1.3
--- llvm/lib/Target/PowerPC/PPC64JITInfo.h:1.2	Wed Aug 11 02:40:04 2004
+++ llvm/lib/Target/PowerPC/PPC64JITInfo.h	Fri Nov 19 22:14:44 2004
@@ -29,12 +29,6 @@
     /// 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);
   };
 }
 






More information about the llvm-commits mailing list