Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 45556d42c10152693be3a38d4e82ce58c4439d4f..e88a03697e5b49caaaf31ed8d0b6b8f10358031a 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -139,7 +139,8 @@ void CopyObjectToObjectElements(FixedArrayBase* from_base, |
if (copy_size == 0) return; |
FixedArray* from = FixedArray::cast(from_base); |
FixedArray* to = FixedArray::cast(to_base); |
- DCHECK(IsFastSmiOrObjectElementsKind(from_kind)); |
+ DCHECK(IsFastSmiOrObjectElementsKind(from_kind) || |
+ from_kind == FAST_STRING_WRAPPER_ELEMENTS); |
DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); |
WriteBarrierMode write_barrier_mode = |