| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index 3fb2ea90decbd2eb460f815d39500507800c18cb..69954a8d183dea998a92a5d59ef87d570a9f8da6 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -815,8 +815,8 @@ Handle<Code> LoadIC::initialize_stub(Isolate* isolate,
|
|
|
| Handle<Code> LoadIC::megamorphic_stub() {
|
| if (kind() == Code::LOAD_IC) {
|
| - return PropertyICCompiler::ComputeLoad(isolate(), MEGAMORPHIC,
|
| - extra_ic_state());
|
| + MegamorphicLoadStub stub(isolate(), State(extra_ic_state()));
|
| + return stub.GetCode();
|
| } else {
|
| DCHECK_EQ(Code::KEYED_LOAD_IC, kind());
|
| return KeyedLoadIC::generic_stub(isolate());
|
|
|