Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index 75b8f6ce6445169f1d9e8cf615e93a796a1f6cf5..b389aacb4fbe7157341e4c4df0da1485d2abf276 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -180,8 +180,6 @@ Handle<Code> PropertyICCompiler::ComputeLoad(Isolate* isolate, |
code = compiler.CompileLoadInitialize(flags); |
} else if (ic_state == PREMONOMORPHIC) { |
code = compiler.CompileLoadPreMonomorphic(flags); |
- } else if (ic_state == MEGAMORPHIC) { |
- code = compiler.CompileLoadMegamorphic(flags); |
} else { |
UNREACHABLE(); |
} |
@@ -322,14 +320,6 @@ Handle<Code> PropertyICCompiler::CompileLoadPreMonomorphic(Code::Flags flags) { |
} |
-Handle<Code> PropertyICCompiler::CompileLoadMegamorphic(Code::Flags flags) { |
- LoadIC::GenerateMegamorphic(masm()); |
- Handle<Code> code = GetCodeWithFlags(flags, "CompileLoadMegamorphic"); |
- PROFILE(isolate(), CodeCreateEvent(Logger::LOAD_MEGAMORPHIC_TAG, *code, 0)); |
- return code; |
-} |
- |
- |
Handle<Code> PropertyICCompiler::CompileStoreInitialize(Code::Flags flags) { |
StoreIC::GenerateInitialize(masm()); |
Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreInitialize"); |