Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index fb996a219e28df171504916345c496394ab4c3c1..d0c96fba08c6bf2638aaff6d4ac12a35955dd90f 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4702,7 +4702,7 @@ bool Map::CanHaveMoreTransitions() { |
if (!HasTransitionArray()) return true; |
return FixedArray::SizeFor(transitions()->length() + |
TransitionArray::kTransitionSize) |
- <= Page::kMaxNonCodeHeapObjectSize; |
+ <= Page::kMaxRegularHeapObjectSize; |
} |