From c9c310487b8730fce5edfa72e79c4188629898a3 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 29 Jun 2017 14:04:16 +0100 Subject: Turn a few DCHECK into CHECKs. To help diagnose b/63070152. bug: 63070152 Test: test.py Change-Id: I1ac1cf9bfe1bc15ecfa94b5b8537cd3afda6fd14 --- compiler/optimizing/nodes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/optimizing/nodes.h') diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index b21c4a5aa7..5e072cdb67 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -421,7 +421,7 @@ class HGraph : public ArenaObject { void SimplifyLoop(HBasicBlock* header); int32_t GetNextInstructionId() { - DCHECK_NE(current_instruction_id_, INT32_MAX); + CHECK_NE(current_instruction_id_, INT32_MAX); return current_instruction_id_++; } @@ -430,7 +430,7 @@ class HGraph : public ArenaObject { } void SetCurrentInstructionId(int32_t id) { - DCHECK_GE(id, current_instruction_id_); + CHECK_GE(id, current_instruction_id_); current_instruction_id_ = id; } -- cgit v1.2.3-59-g8ed1b