diff options
author | Duraid Madina <duraid@octopus.com.au> | 2005-11-04 01:45:04 +0000 |
---|---|---|
committer | Duraid Madina <duraid@octopus.com.au> | 2005-11-04 01:45:04 +0000 |
commit | 09540387058a23f2d559ad5f89bba0763b427ea7 (patch) | |
tree | 1496f93cce18d92c9948113bdb8541f940d1f221 | |
parent | 49fcc4006ccc7ee405c9b120bf7e3a9df61c9542 (diff) |
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
-rw-r--r-- | include/llvm/Target/TargetInstrItineraries.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetInstrItineraries.h b/include/llvm/Target/TargetInstrItineraries.h index cccd4bcf1e..2d31e9c5cc 100644 --- a/include/llvm/Target/TargetInstrItineraries.h +++ b/include/llvm/Target/TargetInstrItineraries.h @@ -55,13 +55,13 @@ struct InstrItineraryData { // // 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. |