Changes in directory llvm/include/llvm/Target:

TargetInstrItineraries.h updated: 1.4 -> 1.5
---
Log message:

change NULL to 0, unbreaks the ppc target when building on ia64



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

 TargetInstrItineraries.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Target/TargetInstrItineraries.h
diff -u llvm/include/llvm/Target/TargetInstrItineraries.h:1.4 
llvm/include/llvm/Target/TargetInstrItineraries.h:1.5
--- llvm/include/llvm/Target/TargetInstrItineraries.h:1.4       Thu Nov  3 
16:47:42 2005
+++ llvm/include/llvm/Target/TargetInstrItineraries.h   Thu Nov  3 19:45:04 2005
@@ -55,13 +55,13 @@
 //
 // Ctors.
 //
-  InstrItineraryData() : Stages(NULL), Itineratries(NULL) {}
+  InstrItineraryData() : Stages(0), Itineratries(0) {}
   InstrItineraryData(InstrStage *S, InstrItinerary *I) : Stages(S), 
Itineratries(I) {}
   
   //
   // isEmpty - Returns true if there are no itineraries.
   //
-  inline bool isEmpty() const { return Itineratries == NULL; }
+  inline bool isEmpty() const { return Itineratries == 0; }
   
   //
   // begin - Return the first stage of the itinerary.



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to