Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 698dde5e53e43de4c9ff0241d28cf5c8be7ab3a1..c1a4a39a60b2a1745f2f86ad436d73f971782e2a 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -522,19 +522,6 @@ void CompareIC::Clear(Isolate* isolate, Address address, Code* target, |
PatchInlinedSmiCode(isolate, address, DISABLE_INLINED_SMI_CHECK); |
} |
- |
-// static |
-Handle<Code> KeyedLoadIC::ChooseMegamorphicStub(Isolate* isolate, |
- ExtraICState extra_state) { |
- // TODO(ishell): remove extra_ic_state |
- if (FLAG_compiled_keyed_generic_loads) { |
- return KeyedLoadGenericStub(isolate).GetCode(); |
- } else { |
- return isolate->builtins()->KeyedLoadIC_Megamorphic(); |
- } |
-} |
- |
- |
static bool MigrateDeprecated(Handle<Object> object) { |
if (!object->IsJSObject()) return false; |
Handle<JSObject> receiver = Handle<JSObject>::cast(object); |