[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCSubtarget.h

Chris Lattner sabre at nondot.org
Mon Dec 11 13:43:10 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCSubtarget.h updated: 1.17 -> 1.18
---
Log message:

getInstrItineraryData shouldn't copy the itineraries


---
Diffs of the changes:  (+1 -1)

 PPCSubtarget.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCSubtarget.h
diff -u llvm/lib/Target/PowerPC/PPCSubtarget.h:1.17 llvm/lib/Target/PowerPC/PPCSubtarget.h:1.18
--- llvm/lib/Target/PowerPC/PPCSubtarget.h:1.17	Fri Jul 14 20:24:23 2006
+++ llvm/lib/Target/PowerPC/PPCSubtarget.h	Mon Dec 11 15:42:55 2006
@@ -57,7 +57,7 @@
   
   /// getInstrItins - Return the instruction itineraies based on subtarget 
   /// selection.
-  const InstrItineraryData getInstrItineraryData() const { return InstrItins; }
+  const InstrItineraryData &getInstrItineraryData() const { return InstrItins; }
 
   /// getTargetDataString - Return the pointer size and type alignment
   /// properties of this subtarget.






More information about the llvm-commits mailing list