| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index 03f0699eb674b3b5dfa1251ed3012c434e81b3aa..d74f5e4861b365d394af78e96ab7063d7643d444 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -1224,7 +1224,7 @@ Handle<Code> LoadIC::CompileHandler(LookupIterator* lookup,
|
| TRACE_HANDLER_STATS(isolate(), LoadIC_LoadCallback);
|
| int index = lookup->GetAccessorIndex();
|
| Handle<Code> code = compiler.CompileLoadCallback(
|
| - lookup->name(), call_optimization, index);
|
| + lookup->name(), call_optimization, index, slow_stub());
|
| return code;
|
| }
|
| TRACE_HANDLER_STATS(isolate(), LoadIC_LoadViaGetter);
|
| @@ -1243,7 +1243,8 @@ Handle<Code> LoadIC::CompileHandler(LookupIterator* lookup,
|
| DCHECK(!info->is_sloppy() || receiver->IsJSReceiver());
|
| TRACE_HANDLER_STATS(isolate(), LoadIC_LoadCallback);
|
| NamedLoadHandlerCompiler compiler(isolate(), map, holder, cache_holder);
|
| - Handle<Code> code = compiler.CompileLoadCallback(lookup->name(), info);
|
| + Handle<Code> code =
|
| + compiler.CompileLoadCallback(lookup->name(), info, slow_stub());
|
| return code;
|
| }
|
| UNREACHABLE();
|
| @@ -1805,7 +1806,7 @@ Handle<Code> StoreIC::CompileHandler(LookupIterator* lookup,
|
| TRACE_HANDLER_STATS(isolate(), StoreIC_StoreCallback);
|
| Handle<Code> code = compiler.CompileStoreCallback(
|
| receiver, lookup->name(), call_optimization,
|
| - lookup->GetAccessorIndex());
|
| + lookup->GetAccessorIndex(), slow_stub());
|
| return code;
|
| }
|
| TRACE_HANDLER_STATS(isolate(), StoreIC_StoreViaSetter);
|
| @@ -2472,22 +2473,6 @@ RUNTIME_FUNCTION(Runtime_KeyedStoreIC_MissFromStubFailure) {
|
| }
|
|
|
|
|
| -RUNTIME_FUNCTION(Runtime_StoreIC_Slow) {
|
| - HandleScope scope(isolate);
|
| - DCHECK(args.length() == 5);
|
| - Handle<Object> object = args.at<Object>(0);
|
| - Handle<Object> key = args.at<Object>(1);
|
| - Handle<Object> value = args.at<Object>(2);
|
| - LanguageMode language_mode;
|
| - StoreICNexus nexus(isolate);
|
| - StoreIC ic(IC::NO_EXTRA_FRAME, isolate, &nexus);
|
| - language_mode = ic.language_mode();
|
| - RETURN_RESULT_OR_FAILURE(
|
| - isolate,
|
| - Runtime::SetObjectProperty(isolate, object, key, value, language_mode));
|
| -}
|
| -
|
| -
|
| RUNTIME_FUNCTION(Runtime_KeyedStoreIC_Slow) {
|
| HandleScope scope(isolate);
|
| DCHECK(args.length() == 5);
|
|
|