https://codereview.chromium.org/509343002/diff/1/src/compiler/generic-node-inl.h
File src/compiler/generic-node-inl.h (right):

https://codereview.chromium.org/509343002/diff/1/src/compiler/generic-node-inl.h#newcode26
src/compiler/generic-node-inl.h:26: inputs_.static_ =
reinterpret_cast<Input*>(this + 1);
On 2014/08/29 07:00:58, Benedikt Meurer wrote:
Ahem, can we please get rid of this undefined behaviour here? Even if
we assume
that alignof is less than sizeof the concrete GenericNode (which we do
not
ensure in any way), it is still not safe in general.

I agree. Since this problem has nothing to do with this CL, feel free to
fix it. :)

https://codereview.chromium.org/509343002/

--
--
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