summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_liveness_analysis.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-06-29 14:04:16 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2017-06-29 15:04:21 +0100
commitc9c310487b8730fce5edfa72e79c4188629898a3 (patch)
treee9e72b0296b557722979b51bf9d98054c4fb1971 /compiler/optimizing/ssa_liveness_analysis.cc
parent853cc56ae6a79fa9540bb49c5c95d1568d47656d (diff)
Turn a few DCHECK into CHECKs.
To help diagnose b/63070152. bug: 63070152 Test: test.py Change-Id: I1ac1cf9bfe1bc15ecfa94b5b8537cd3afda6fd14
Diffstat (limited to 'compiler/optimizing/ssa_liveness_analysis.cc')
-rw-r--r--compiler/optimizing/ssa_liveness_analysis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_liveness_analysis.cc b/compiler/optimizing/ssa_liveness_analysis.cc
index 7b7495bf3b..185303bc8c 100644
--- a/compiler/optimizing/ssa_liveness_analysis.cc
+++ b/compiler/optimizing/ssa_liveness_analysis.cc
@@ -197,7 +197,7 @@ void SsaLivenessAnalysis::ComputeLiveRanges() {
HInstruction* instruction = environment->GetInstructionAt(i);
bool should_be_live = ShouldBeLiveForEnvironment(current, instruction);
if (should_be_live) {
- DCHECK(instruction->HasSsaIndex());
+ CHECK(instruction->HasSsaIndex()) << instruction->DebugName();
live_in->SetBit(instruction->GetSsaIndex());
}
if (instruction != nullptr) {