Lines Matching refs:object_size
1633 void MacroAssembler::Allocate(int object_size, Register result, in Allocate() argument
1636 DCHECK(object_size <= kMaxRegularHeapObjectSize); in Allocate()
1653 object_size *= kPointerSize; in Allocate()
1655 DCHECK_EQ(0, static_cast<int>(object_size & kObjectAlignmentMask)); in Allocate()
1714 if (is_int16(object_size)) { in Allocate()
1715 cmpi(r0, Operand(object_size)); in Allocate()
1717 addi(result_end, result, Operand(object_size)); in Allocate()
1719 Cmpi(r0, Operand(object_size), result_end); in Allocate()
1734 void MacroAssembler::Allocate(Register object_size, Register result, in Allocate() argument
1751 DCHECK(!AreAliased(object_size, result, scratch, ip)); in Allocate()
1753 DCHECK((flags & DOUBLE_ALIGNMENT) == 0 || !object_size.is(result_end)); in Allocate()
1812 ShiftLeftImm(result_end, object_size, Operand(kPointerSizeLog2)); in Allocate()
1817 cmp(r0, object_size); in Allocate()
1819 add(result_end, result, object_size); in Allocate()
1836 void MacroAssembler::FastAllocate(Register object_size, Register result, in FastAllocate() argument
1841 DCHECK(!AreAliased(object_size, result, scratch, ip)); in FastAllocate()
1843 DCHECK((flags & DOUBLE_ALIGNMENT) == 0 || !object_size.is(result_end)); in FastAllocate()
1872 ShiftLeftImm(result_end, object_size, Operand(kPointerSizeLog2)); in FastAllocate()
1875 add(result_end, result, object_size); in FastAllocate()
1889 void MacroAssembler::FastAllocate(int object_size, Register result, in FastAllocate() argument
1892 DCHECK(object_size <= kMaxRegularHeapObjectSize); in FastAllocate()
1897 object_size *= kPointerSize; in FastAllocate()
1899 DCHECK_EQ(0, object_size & kObjectAlignmentMask); in FastAllocate()
1928 Add(result_end, result, object_size, r0); in FastAllocate()