Chromium Code Reviews| Index: src/heap.cc |
| =================================================================== |
| --- src/heap.cc (revision 10005) |
| +++ src/heap.cc (working copy) |
| @@ -3846,7 +3846,7 @@ |
| // we must NOT fail after this point, where we have changed the type! |
| // Reset the map for the object. |
| - object->set_map_unsafe(map); |
| + object->set_map(map); |
| JSObject* jsobj = JSObject::cast(object); |
| // Reinitialize the object from the constructor map. |