| Index: src/ic.cc
|
| diff --git a/src/ic.cc b/src/ic.cc
|
| index 9a56f23bd76d81417d9bfb41838e794e9209941f..14ac57771a587cbcec8314d37d32ab933c16c428 100644
|
| --- a/src/ic.cc
|
| +++ b/src/ic.cc
|
| @@ -1405,6 +1405,7 @@ MaybeObject* StoreIC::Store(State state,
|
| return TypeError("strict_read_only_property", object, name);
|
| }
|
| // Ignore other stores where the receiver is not a JSObject.
|
| + // TODO(1475): Must check prototype chains of object wrappers.
|
| return *value;
|
| }
|
|
|
| @@ -1436,7 +1437,6 @@ MaybeObject* StoreIC::Store(State state,
|
| // Lookup the property locally in the receiver.
|
| if (FLAG_use_ic && !receiver->IsJSGlobalProxy()) {
|
| LookupResult lookup(isolate());
|
| -
|
| if (LookupForWrite(*receiver, *name, &lookup)) {
|
| // Generate a stub for this store.
|
| UpdateCaches(&lookup, state, strict_mode, receiver, name, value);
|
|
|