Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 5ca07d5add7419aee5f4e509230c8864787045ce..ca025e6cf6bce56cce2b2a8bdd37bba926412af8 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -774,7 +774,8 @@ void JSArrayBufferView::JSArrayBufferViewVerify() { |
CHECK(IsJSArrayBufferView()); |
JSObjectVerify(); |
VerifyPointer(buffer()); |
- CHECK(buffer()->IsJSArrayBuffer() || buffer()->IsUndefined()); |
+ CHECK(buffer()->IsJSArrayBuffer() || buffer()->IsUndefined() |
+ || buffer() == Smi::FromInt(0)); |
VerifyPointer(byte_offset()); |
CHECK(byte_offset()->IsSmi() || byte_offset()->IsHeapNumber() |