| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index 50c9d72605e30231eca4901f00108aaac8ca84d9..8d773d0f2bc21444099fb12de8c2c10259c5e466 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -2062,7 +2062,7 @@ RUNTIME_FUNCTION(StoreIC_Miss) {
|
| RUNTIME_FUNCTION(StoreIC_MissFromStubFailure) {
|
| TimerEventScope<TimerEventIcMiss> timer(isolate);
|
| HandleScope scope(isolate);
|
| - DCHECK(args.length() == 3);
|
| + DCHECK(args.length() == 3 || args.length() == 4);
|
| StoreIC ic(IC::EXTRA_CALL_FRAME, isolate);
|
| Handle<Object> receiver = args.at<Object>(0);
|
| Handle<String> key = args.at<String>(1);
|
| @@ -2074,30 +2074,6 @@ RUNTIME_FUNCTION(StoreIC_MissFromStubFailure) {
|
| }
|
|
|
|
|
| -// Extend storage is called in a store inline cache when
|
| -// it is necessary to extend the properties array of a
|
| -// JSObject.
|
| -RUNTIME_FUNCTION(SharedStoreIC_ExtendStorage) {
|
| - TimerEventScope<TimerEventIcMiss> timer(isolate);
|
| - HandleScope shs(isolate);
|
| - DCHECK(args.length() == 3);
|
| -
|
| - // Convert the parameters
|
| - Handle<JSObject> object = args.at<JSObject>(0);
|
| - Handle<Map> transition = args.at<Map>(1);
|
| - Handle<Object> value = args.at<Object>(2);
|
| -
|
| - // Check the object has run out out property space.
|
| - DCHECK(object->HasFastProperties());
|
| - DCHECK(object->map()->unused_property_fields() == 0);
|
| -
|
| - JSObject::MigrateToNewProperty(object, transition, value);
|
| -
|
| - // Return the stored value.
|
| - return *value;
|
| -}
|
| -
|
| -
|
| // Used from ic-<arch>.cc.
|
| RUNTIME_FUNCTION(KeyedStoreIC_Miss) {
|
| TimerEventScope<TimerEventIcMiss> timer(isolate);
|
|
|