Index: src/heap/remembered-set.h |
diff --git a/src/heap/remembered-set.h b/src/heap/remembered-set.h |
index 8022d52775f84a2300a6e54c926b5b1dca1c4c44..bdfae032acf36c5aff4f6950218f226dea8ff9fe 100644 |
--- a/src/heap/remembered-set.h |
+++ b/src/heap/remembered-set.h |
@@ -363,7 +363,7 @@ class UpdateTypedSlotHelper { |
case OBJECT_SLOT: { |
return callback(reinterpret_cast<Object**>(addr)); |
} |
- case NUMBER_OF_SLOT_TYPES: |
+ case CLEARED_SLOT: |
break; |
} |
UNREACHABLE(); |
@@ -382,7 +382,7 @@ inline SlotType SlotTypeForRelocInfoMode(RelocInfo::Mode rmode) { |
return DEBUG_TARGET_SLOT; |
} |
UNREACHABLE(); |
- return NUMBER_OF_SLOT_TYPES; |
+ return CLEARED_SLOT; |
} |
} // namespace internal |