Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 758967ec08d875ce5ccab732d4d120366e6a5079..40772724266dc0277a59da827c77d2dbaa76aefa 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -311,6 +311,7 @@ static inline MaybeObject* EnsureJSArrayWithWritableFastElements( |
Heap* heap, Object* receiver, Arguments* args, int first_added_arg) { |
if (!receiver->IsJSArray()) return NULL; |
JSArray* array = JSArray::cast(receiver); |
+ if (array->map()->is_observed()) return NULL; |
HeapObject* elms = array->elements(); |
Map* map = elms->map(); |
if (map == heap->fixed_array_map()) { |