Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index f6b544d6e868cd8d0a05f500f2f5f8927fb71ca2..fa7a95331b512d90ac011a5a2ca761d23274b7c8 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -1140,7 +1140,7 @@ HValue* CodeStubGraphBuilder<StoreTransitionStub>::BuildCodeStub() { |
// Grow properties array. |
ElementsKind kind = FAST_ELEMENTS; |
Add<HBoundsCheck>(new_capacity, |
- Add<HConstant>((Page::kMaxRegularHeapObjectSize - |
+ Add<HConstant>((kMaxRegularHeapObjectSize - |
FixedArray::kHeaderSize) >> |
ElementsKindToShiftSize(kind))); |