diff options
Diffstat (limited to 'compiler/optimizing/ssa_liveness_analysis.h')
-rw-r--r-- | compiler/optimizing/ssa_liveness_analysis.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/ssa_liveness_analysis.h b/compiler/optimizing/ssa_liveness_analysis.h index 7903ad6cff..fc3eb660d5 100644 --- a/compiler/optimizing/ssa_liveness_analysis.h +++ b/compiler/optimizing/ssa_liveness_analysis.h @@ -172,6 +172,7 @@ class LiveInterval : public ArenaObject { // Last use is in the following block. first_range_->start_ = start_block_position; } else { + DCHECK(first_range_->GetStart() > position); // There is a hole in the interval. Create a new range. first_range_ = new (allocator_) LiveRange(start_block_position, position, first_range_); } @@ -192,6 +193,7 @@ class LiveInterval : public ArenaObject { // There is a use in the following block. first_range_->start_ = start; } else { + DCHECK(first_range_->GetStart() > end); // There is a hole in the interval. Create a new range. first_range_ = new (allocator_) LiveRange(start, end, first_range_); } |