Index: src/compiler/js-native-context-specialization.cc |
diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc |
index ed9cf4e41d8ae85f833f3c2a95f85873502a0e95..2de95b61f67eaf009b998a70c02597f26c9ed4cf 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -564,7 +564,7 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess( |
// We do not handle generic calls in try blocks. |
if (is_exceptional) return NoChange(); |
// We only handle the generic store IC case. |
- if (vector->GetKind(slot) != FeedbackVectorSlotKind::STORE_IC) { |
+ if (!vector->IsStoreIC(slot)) { |
return NoChange(); |
} |
} |
@@ -1558,7 +1558,7 @@ JSNativeContextSpecialization::BuildPropertyAccess( |
} else { |
DCHECK(access_info.IsGeneric()); |
DCHECK_EQ(AccessMode::kStore, access_mode); |
- DCHECK_EQ(FeedbackVectorSlotKind::STORE_IC, vector->GetKind(slot)); |
+ DCHECK(vector->IsStoreIC(slot)); |
Callable callable = |
CodeFactory::StoreICInOptimizedCode(isolate(), language_mode); |
const CallInterfaceDescriptor& descriptor = callable.descriptor(); |