[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCJITInfo.h PowerPCTargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 19 20:17:29 PST 2004



Changes in directory llvm/lib/Target/PowerPC:

PowerPCJITInfo.h updated: 1.2 -> 1.3
PowerPCTargetMachine.cpp updated: 1.36 -> 1.37
---
Log message:

Remove this method, it's not clear how it could be implemented indep of 32 or 64-bit mode


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

Index: llvm/lib/Target/PowerPC/PowerPCJITInfo.h
diff -u llvm/lib/Target/PowerPC/PowerPCJITInfo.h:1.2 llvm/lib/Target/PowerPC/PowerPCJITInfo.h:1.3
--- llvm/lib/Target/PowerPC/PowerPCJITInfo.h:1.2	Tue Aug 10 19:11:25 2004
+++ llvm/lib/Target/PowerPC/PowerPCJITInfo.h	Fri Nov 19 22:17:17 2004
@@ -37,12 +37,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/PowerPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.36 llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.37
--- llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.36	Mon Oct 25 15:53:41 2004
+++ llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp	Fri Nov 19 22:17:17 2004
@@ -138,12 +138,6 @@
   assert(0 && "Cannot execute PowerPCJITInfo::replaceMachineCodeForFunction()");
 }
 
-void *PowerPCJITInfo::getJITStubForFunction(Function *F, 
-                                            MachineCodeEmitter &MCE) {
-  assert(0 && "Cannot execute PowerPCJITInfo::getJITStubForFunction()");
-  return 0;
-}
-
 /// PowerPCTargetMachine ctor - Create an ILP32 architecture model
 ///
 PPC32TargetMachine::PPC32TargetMachine(const Module &M, IntrinsicLowering *IL)






More information about the llvm-commits mailing list