| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index acd3949228c91810466f432bd4198d2a0db21d6a..475ffe646b00d1e0e8a322d0cb59b44c8f031c01 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -15776,10 +15776,9 @@ Handle<Derived> Dictionary<Derived, Shape, Key>::AtPut(
|
|
|
| // Check whether the dictionary should be extended.
|
| dictionary = EnsureCapacity(dictionary, 1, key);
|
| -
|
| - Handle<Object> k = Shape::AsHandle(dictionary->GetIsolate(), key);
|
| - // TODO(ishell): Figure out if it is necessary to call AsHandle() here.
|
| - USE(k);
|
| +#ifdef DEBUG
|
| + USE(Shape::AsHandle(dictionary->GetIsolate(), key));
|
| +#endif
|
| PropertyDetails details = PropertyDetails(NONE, NORMAL, 0);
|
|
|
| AddEntry(dictionary, key, value, details, dictionary->Hash(key));
|
|
|