Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: src/heap/heap.cc

Issue 2673383002: [ic] Encode LoadGlobalIC's typeof mode in slot kind instead of code object's flags. (Closed)
Patch Set: Addressed comments and added check to FCG Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/heap.h ('k') | src/ic/arm/handler-compiler-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index dbb09aa45e8db14401959ccf0ee8f5515d9ee668..25490e40d29c6830fe38c39583925730a9307356 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -2756,23 +2756,6 @@ void Heap::CreateInitialObjects() {
set_microtask_queue(empty_fixed_array());
{
- StaticFeedbackVectorSpec spec;
- FeedbackVectorSlot slot = spec.AddLoadICSlot();
- DCHECK_EQ(slot, FeedbackVectorSlot(TypeFeedbackVector::kDummyLoadICSlot));
- USE(slot);
-
- Handle<TypeFeedbackMetadata> dummy_metadata =
- TypeFeedbackMetadata::New(isolate(), &spec);
- Handle<TypeFeedbackVector> dummy_vector =
- TypeFeedbackVector::New(isolate(), dummy_metadata);
-
- set_dummy_vector(*dummy_vector);
-
- // Now initialize dummy vector's entries.
- LoadICNexus(isolate()).ConfigureMegamorphic();
- }
-
- {
// Create a canonical empty TypeFeedbackVector, which is shared by all
// functions that don't need actual type feedback slots. Note however
// that all these functions will share the same invocation count, but
« no previous file with comments | « src/heap/heap.h ('k') | src/ic/arm/handler-compiler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698