Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index a7629c064b7ed7d9cee52c3eafd791229a86dfe8..2861f2306321d21609f26296cdd2380d558f155f 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -3517,7 +3517,8 @@ AllocationResult Heap::AllocateJSObjectFromMap( |
// Initialize the JSObject. |
InitializeJSObjectFromMap(js_obj, properties, map); |
- DCHECK(js_obj->HasFastElements() || js_obj->HasFixedTypedArrayElements()); |
+ DCHECK(js_obj->HasFastElements() || js_obj->HasFixedTypedArrayElements() || |
+ js_obj->HasFastStringWrapperElements()); |
return js_obj; |
} |