summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-06-30 09:11:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-06-30 09:11:55 +0000
commit4aa0cf8d72386bc2bc42f437919a66ec392eca21 (patch)
tree8032373cf5073225b8d6082d98760a3a4c3f4e09 /compiler/optimizing/nodes.h
parent5f17267621174ac22ab53f02b3a5e1ee54308775 (diff)
parentc9c310487b8730fce5edfa72e79c4188629898a3 (diff)
Merge "Turn a few DCHECK into CHECKs."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h4
1 files changed, 2 insertions, 2 deletions
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<kArenaAllocGraph> {
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<kArenaAllocGraph> {
}
void SetCurrentInstructionId(int32_t id) {
- DCHECK_GE(id, current_instruction_id_);
+ CHECK_GE(id, current_instruction_id_);
current_instruction_id_ = id;
}