Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index d2bd6f8b200595349731b005af455de58a7b071b..e07bdeb49641b0f29afc7ea3d4f45cbaae543aa5 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -37,18 +37,18 @@ class LoweringContext { |
LoweringContext &operator=(const LoweringContext &) = delete; |
public: |
- LoweringContext() : Node(NULL), LastInserted(NULL) {} |
+ LoweringContext() : Node(nullptr), LastInserted(nullptr) {} |
~LoweringContext() {} |
void init(CfgNode *Node); |
Inst *getNextInst() const { |
if (Next == End) |
- return NULL; |
+ return nullptr; |
return Next; |
} |
Inst *getNextInst(InstList::iterator &Iter) const { |
advanceForward(Iter); |
if (Iter == End) |
- return NULL; |
+ return nullptr; |
return Iter; |
} |
CfgNode *getNode() const { return Node; } |