mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-13 17:06:15 +00:00
change NULL to 0, unbreaks the ppc target when building on ia64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
49fcc4006c
commit
0954038705
@ -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…
x
Reference in New Issue
Block a user