forked from OSchip/llvm-project
change NULL to 0, unbreaks the ppc target when building on ia64
llvm-svn: 24176
This commit is contained in:
parent
7ac646ef95
commit
3b3f2a92e6
|
@ -55,13 +55,13 @@ struct InstrItineraryData {
|
||||||
//
|
//
|
||||||
// Ctors.
|
// Ctors.
|
||||||
//
|
//
|
||||||
InstrItineraryData() : Stages(NULL), Itineratries(NULL) {}
|
InstrItineraryData() : Stages(0), Itineratries(0) {}
|
||||||
InstrItineraryData(InstrStage *S, InstrItinerary *I) : Stages(S), Itineratries(I) {}
|
InstrItineraryData(InstrStage *S, InstrItinerary *I) : Stages(S), Itineratries(I) {}
|
||||||
|
|
||||||
//
|
//
|
||||||
// isEmpty - Returns true if there are no itineraries.
|
// 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.
|
// begin - Return the first stage of the itinerary.
|
||||||
|
|
Loading…
Reference in New Issue