Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 7ec5a88e5610048c7d9f54a990c39a50ea4b92a6..657ca2d7540ef2b545c653c665e965a5c3b34fe4 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -1253,8 +1253,7 @@ Node* CodeStubAssembler::AllocateSeqOneByteString(Node* context, Node* length) { |
IntPtrAdd(length, IntPtrConstant(SeqOneByteString::kHeaderSize)), |
IntPtrConstant(kObjectAlignmentMask)), |
IntPtrConstant(~kObjectAlignmentMask)); |
- Branch(IntPtrLessThanOrEqual(size, |
- IntPtrConstant(Page::kMaxRegularHeapObjectSize)), |
+ Branch(IntPtrLessThanOrEqual(size, IntPtrConstant(kMaxRegularHeapObjectSize)), |
&if_sizeissmall, &if_notsizeissmall); |
Bind(&if_sizeissmall); |
@@ -1306,8 +1305,7 @@ Node* CodeStubAssembler::AllocateSeqTwoByteString(Node* context, Node* length) { |
IntPtrConstant(SeqTwoByteString::kHeaderSize)), |
IntPtrConstant(kObjectAlignmentMask)), |
IntPtrConstant(~kObjectAlignmentMask)); |
- Branch(IntPtrLessThanOrEqual(size, |
- IntPtrConstant(Page::kMaxRegularHeapObjectSize)), |
+ Branch(IntPtrLessThanOrEqual(size, IntPtrConstant(kMaxRegularHeapObjectSize)), |
&if_sizeissmall, &if_notsizeissmall); |
Bind(&if_sizeissmall); |