Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 4578c6b62fec5fb622dd8905aa8b768f18516165..f19941d65ee70e7b25868b96828beb49217a3fdf 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -3744,7 +3744,7 @@ void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, |
Smi::FromInt(name->Hash() + NameDictionary::GetProbeOffset(i)))); |
// Scale the index by multiplying by the entry size. |
- DCHECK(NameDictionary::kEntrySize == 3); |
+ STATIC_ASSERT(NameDictionary::kEntrySize == 3); |
__ add(index, index, Operand(index, LSL, 1)); // index *= 3. |
Register entity_name = scratch0; |