diff options
author | 2014-06-12 09:04:03 +0000 | |
---|---|---|
committer | 2014-06-11 15:59:20 +0000 | |
commit | dfc2091d2fb8a7694f69acf8bd39ce4953e026c2 (patch) | |
tree | a4626e21ae16a9a5e133ea3e5e95b58d2ea4d8e5 /compiler/optimizing/ssa_liveness_analysis.h | |
parent | c936622863a50bdda9b10062515dfc02a8c8b652 (diff) | |
parent | 86dbb9a12119273039ce272b41c809fa548b37b6 (diff) |
Merge "Final CL to enable register allocation on x86."
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_); } |