Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index b467ac607fd9907c579f1bcd1bbae0c0d742d13c..5902e0dda8cd6cc0ac47362849e6aa9a381f7a26 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -888,9 +888,7 @@ void JSTypedArray::JSTypedArrayVerify() { |
CHECK(IsJSTypedArray()); |
JSArrayBufferViewVerify(); |
VerifyPointer(raw_length()); |
- CHECK(raw_length()->IsSmi() || raw_length()->IsHeapNumber() || |
- raw_length()->IsUndefined(GetIsolate())); |
- |
+ CHECK(raw_length()->IsSmi() || raw_length()->IsUndefined(GetIsolate())); |
VerifyPointer(elements()); |
} |