Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index c36f6a6e015ce04671d42090f1c586863d2f5b3a..5be4e15c1dc2e880f411c6b8c36d03f4d04c00f6 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -4913,7 +4913,7 @@ void MacroAssembler::CheckEnumCache(Register null_value, Label* call_runtime) { |
movq(rbx, FieldOperand(rcx, HeapObject::kMapOffset)); |
EnumLength(rdx, rbx); |
- Cmp(rdx, Smi::FromInt(Map::kInvalidEnumCache)); |
+ Cmp(rdx, Smi::FromInt(kInvalidEnumCacheSentinel)); |
j(equal, call_runtime); |
jmp(&start); |