Index: src/objects-visiting.h |
diff --git a/src/objects-visiting.h b/src/objects-visiting.h |
index 21757377a4f3910f9b39bb8582be86e2684f1af8..32e457b869a1430a88587670e82c320e3819533a 100644 |
--- a/src/objects-visiting.h |
+++ b/src/objects-visiting.h |
@@ -141,7 +141,7 @@ class StaticVisitorBase : public AllStatic { |
(base == kVisitJSObject)); |
ASSERT(IsAligned(object_size, kPointerSize)); |
ASSERT(kMinObjectSizeInWords * kPointerSize <= object_size); |
- ASSERT(object_size <= Page::kMaxNonCodeHeapObjectSize); |
+ ASSERT(object_size < Page::kMaxNonCodeHeapObjectSize); |
const VisitorId specialization = static_cast<VisitorId>( |
base + (object_size >> kPointerSizeLog2) - kMinObjectSizeInWords); |