Index: src/type-feedback-vector.h |
diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h |
index 8f097dfb1d7f8b04b8b211f92f7b07f633be69e1..c28f26251c2420da830151dee346c3a245ae8c2a 100644 |
--- a/src/type-feedback-vector.h |
+++ b/src/type-feedback-vector.h |
@@ -464,11 +464,28 @@ class LoadGlobalICNexus : public FeedbackNexus { |
DCHECK_EQ(FeedbackVectorSlotKind::LOAD_GLOBAL_IC, vector->GetKind(slot)); |
} |
+ int ExtractMaps(MapHandleList* maps) const final { |
+ // LoadGlobalICs don't record map feedback. |
+ return 0; |
+ } |
+ MaybeHandle<Code> FindHandlerForMap(Handle<Map> map) const final { |
+ return MaybeHandle<Code>(); |
+ } |
+ bool FindHandlers(CodeHandleList* code_list, int length = -1) const final { |
+ return length == 0; |
+ } |
+ |
void ConfigureMegamorphic() override { UNREACHABLE(); } |
void Clear(Code* host); |
+ // TODO(ishell): remove LoadIC-style mode support. |
void ConfigureMonomorphic(Handle<Map> receiver_map, Handle<Code> handler); |
+ // PropertyCell shortcut mode. |
+ void ConfigureUninitialized() override; |
+ void ConfigurePropertyCellMode(Handle<PropertyCell> cell); |
+ void ConfigureHandlerMode(Handle<Code> handler); |
+ |
InlineCacheState StateFromFeedback() const override; |
}; |