| Index: src/compiler/schedule.h
|
| diff --git a/src/compiler/schedule.h b/src/compiler/schedule.h
|
| index 95b93b3e0d6e8400d4f565aa268e65800ffd3356..ad1a26735ebcfdd0956714da7f511c1f24e8bf98 100644
|
| --- a/src/compiler/schedule.h
|
| +++ b/src/compiler/schedule.h
|
| @@ -61,7 +61,7 @@ class BasicBlock FINAL : public ZoneObject {
|
| DCHECK(IsValid());
|
| return static_cast<size_t>(index_);
|
| }
|
| - bool IsValid() const { return index_ != kInvalidRpoNumber; }
|
| + bool IsValid() const { return index_ >= 0; }
|
| static RpoNumber FromInt(int index) { return RpoNumber(index); }
|
| static RpoNumber Invalid() { return RpoNumber(kInvalidRpoNumber); }
|
|
|
|
|