Index: src/objects-visiting.h |
diff --git a/src/objects-visiting.h b/src/objects-visiting.h |
index cb763654b810ebe01b7998dd8ac29c81a2a04660..41e5fd6fd382b342c2506da1545de3add43f646f 100644 |
--- a/src/objects-visiting.h |
+++ b/src/objects-visiting.h |
@@ -144,7 +144,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::kMaxRegularHeapObjectSize); |
const VisitorId specialization = static_cast<VisitorId>( |
base + (object_size >> kPointerSizeLog2) - kMinObjectSizeInWords); |