Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index 4913b407ae01a14aa1d488ff47f48d990322a638..6d628cd419ff0ed0ae5655d642ae00cb1726d9ff 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -118,7 +118,7 @@ class MipsOperandConverter final : public InstructionOperandConverter { |
MemOperand MemoryOperand(size_t index = 0) { return MemoryOperand(&index); } |
MemOperand ToMemOperand(InstructionOperand* op) const { |
- DCHECK(op != NULL); |
+ DCHECK_NOT_NULL(op); |
DCHECK(op->IsStackSlot() || op->IsDoubleStackSlot()); |
FrameOffset offset = frame_access_state()->GetFrameOffset( |
AllocatedOperand::cast(op)->index()); |
@@ -1447,7 +1447,7 @@ void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { |
!__ IsDoubleZeroRegSet()) { |
__ Move(kDoubleRegZero, 0.0); |
} |
- __ BranchF32(tlabel, NULL, cc, left, right); |
+ __ BranchF32(tlabel, nullptr, cc, left, right); |
} else if (instr->arch_opcode() == kMips64CmpD) { |
if (!convertCondition(branch->condition, cc)) { |
UNSUPPORTED_COND(kMips64CmpD, branch->condition); |
@@ -1458,7 +1458,7 @@ void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { |
!__ IsDoubleZeroRegSet()) { |
__ Move(kDoubleRegZero, 0.0); |
} |
- __ BranchF64(tlabel, NULL, cc, left, right); |
+ __ BranchF64(tlabel, nullptr, cc, left, right); |
} else { |
PrintF("AssembleArchBranch Unimplemented arch_opcode: %d\n", |
instr->arch_opcode()); |
@@ -1778,7 +1778,7 @@ void CodeGenerator::AssembleReturn() { |
void CodeGenerator::AssembleMove(InstructionOperand* source, |
InstructionOperand* destination) { |
- MipsOperandConverter g(this, NULL); |
+ MipsOperandConverter g(this, nullptr); |
// Dispatch on the source and destination operand kinds. Not all |
// combinations are possible. |
if (source->IsRegister()) { |
@@ -1884,7 +1884,7 @@ void CodeGenerator::AssembleMove(InstructionOperand* source, |
void CodeGenerator::AssembleSwap(InstructionOperand* source, |
InstructionOperand* destination) { |
- MipsOperandConverter g(this, NULL); |
+ MipsOperandConverter g(this, nullptr); |
// Dispatch on the source and destination operand kinds. Not all |
// combinations are possible. |
if (source->IsRegister()) { |