https://codereview.chromium.org/1150593003/diff/200001/src/heap/heap.h
File src/heap/heap.h (right):

https://codereview.chromium.org/1150593003/diff/200001/src/heap/heap.h#newcode718
src/heap/heap.h:718:
On 2015/05/26 09:22:29, Hannes Payer wrote:
Please add comments about what these functions are doing.

Done.

https://codereview.chromium.org/1150593003/diff/200001/src/heap/spaces-inl.h
File src/heap/spaces-inl.h (left):

https://codereview.chromium.org/1150593003/diff/200001/src/heap/spaces-inl.h#oldcode377
src/heap/spaces-inl.h:377: (kDoubleUnaligned && (OffsetFrom(obj) &
kDoubleAlignmentMask) != 0));
On 2015/05/26 09:22:29, Hannes Payer wrote:
why did you remove the dcheck?

I removed it to keep usage of the alignment enum values in Heap. Also I
think it's incorrect. Shouldn't the first term be

alignment == kDoubleAligned

instead of just kDoubleAligned?

https://codereview.chromium.org/1150593003/diff/200001/src/heap/spaces-inl.h
File src/heap/spaces-inl.h (right):

https://codereview.chromium.org/1150593003/diff/200001/src/heap/spaces-inl.h#newcode306
src/heap/spaces-inl.h:306: allocation_size = size_in_bytes +
filler_size;
On 2015/05/26 09:22:29, Hannes Payer wrote:
+= filler_size

Done.

https://codereview.chromium.org/1150593003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to