Index: src/safepoint-table.cc |
diff --git a/src/safepoint-table.cc b/src/safepoint-table.cc |
index 28cf6e64c9d8ff320c834c425ccba3319dc66aa0..bcd0a1d63d9d5891945f49ab67b2f55fa3737cea 100644 |
--- a/src/safepoint-table.cc |
+++ b/src/safepoint-table.cc |
@@ -68,8 +68,8 @@ SafepointTable::SafepointTable(Code* code) { |
entries_ = pc_and_deoptimization_indexes_ + |
(length_ * kPcAndDeoptimizationIndexSize); |
ASSERT(entry_size_ > 0); |
- ASSERT_EQ(SafepointEntry::DeoptimizationIndexField::max(), |
- Safepoint::kNoDeoptimizationIndex); |
+ STATIC_ASSERT(SafepointEntry::DeoptimizationIndexField::kMax == |
+ Safepoint::kNoDeoptimizationIndex); |
} |