Index: src/type-feedback-vector.cc |
diff --git a/src/type-feedback-vector.cc b/src/type-feedback-vector.cc |
index c51d9877f1c27c4e31fcdb02316a36c1883e2c92..2316f2979951fa285e85eb5d50c72323fafc4856 100644 |
--- a/src/type-feedback-vector.cc |
+++ b/src/type-feedback-vector.cc |
@@ -264,8 +264,8 @@ InlineCacheState KeyedLoadICNexus::StateFromFeedback() const { |
return UNINITIALIZED; |
} else if (feedback == *vector()->PremonomorphicSentinel(isolate)) { |
return PREMONOMORPHIC; |
- } else if (feedback == *vector()->GenericSentinel(isolate)) { |
- return GENERIC; |
+ } else if (feedback == *vector()->MegamorphicSentinel(isolate)) { |
+ return MEGAMORPHIC; |
} else if (feedback->IsFixedArray()) { |
// Determine state purely by our structure, don't check if the maps are |
// cleared. |
@@ -323,8 +323,8 @@ void CallICNexus::ConfigureMonomorphic(Handle<JSFunction> function) { |
} |
-void KeyedLoadICNexus::ConfigureGeneric() { |
- SetFeedback(*vector()->GenericSentinel(GetIsolate()), SKIP_WRITE_BARRIER); |
+void KeyedLoadICNexus::ConfigureMegamorphic() { |
+ SetFeedback(*vector()->MegamorphicSentinel(GetIsolate()), SKIP_WRITE_BARRIER); |
} |