Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index fb6906ce3b90b1e51d9876e47be344a33be2a4f1..b28fe499a53018d5324d73ebf1927f4a5ff72167 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -178,8 +178,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(); |
} |
@@ -320,14 +318,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"); |