| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 94c077422d87c4aa80152160ea772363a28556b7..c5a63112cd67b0a181f1945701f4554cf0fa8011 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -4432,13 +4432,6 @@ Maybe<bool> Object::SetDataProperty(LookupIterator* it, Handle<Object> value) {
|
| if (!value->IsNumber() && !value->IsUndefined()) {
|
| ASSIGN_RETURN_ON_EXCEPTION_VALUE(
|
| it->isolate(), to_assign, Object::ToNumber(value), Nothing<bool>());
|
| - // ToNumber above might modify the receiver, causing the cached
|
| - // holder_map to mismatch the actual holder->map() after this point.
|
| - // Reload the map to be in consistent state. Other cached state cannot
|
| - // have been invalidated since typed array elements cannot be reconfigured
|
| - // in any way.
|
| - it->ReloadHolderMap();
|
| -
|
| // We have to recheck the length. However, it can only change if the
|
| // underlying buffer was neutered, so just check that.
|
| if (Handle<JSArrayBufferView>::cast(receiver)->WasNeutered()) {
|
|
|