Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index ec4947573acc5b29d4e53c3b36464646d8e3152c..4df2bde448daea4a5bb7031825ba4c8910719bf6 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -358,7 +358,7 @@ BasicBlock* RawMachineAssembler::CurrentBlock() { |
Node* RawMachineAssembler::AddNode(const Operator* op, int input_count, |
Node** inputs) { |
DCHECK_NOT_NULL(schedule_); |
- DCHECK(current_block_ != nullptr); |
+ DCHECK_NOT_NULL(current_block_); |
Node* node = MakeNode(op, input_count, inputs); |
schedule()->AddNode(CurrentBlock(), node); |
return node; |
@@ -374,7 +374,7 @@ Node* RawMachineAssembler::MakeNode(const Operator* op, int input_count, |
RawMachineLabel::RawMachineLabel() |
- : block_(NULL), used_(false), bound_(false) {} |
+ : block_(nullptr), used_(false), bound_(false) {} |
RawMachineLabel::~RawMachineLabel() { DCHECK(bound_ || !used_); } |