[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrItineraries.h
Duraid Madina
duraid at octopus.com.au
Thu Nov 3 17:45:15 PST 2005
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.
More information about the llvm-commits
mailing list