Chromium Code Reviews| Index: src/objects.cc |
| =================================================================== |
| --- src/objects.cc (revision 5634) |
| +++ src/objects.cc (working copy) |
| @@ -8591,7 +8591,9 @@ |
| details = PropertyDetails(details.attributes(), |
| details.type(), |
| DetailsAt(entry).index()); |
| - SetEntry(entry, NumberDictionaryShape::AsObject(key), value, details); |
| + Object* okey = NumberDictionaryShape::AsObject(key); |
|
Mads Ager (chromium)
2010/10/18 10:04:16
I don't like the name. key_object?
|
| + if (okey->IsFailure()) return okey; |
| + SetEntry(entry, okey, value, details); |
| return this; |
| } |