https://codereview.chromium.org/498283002/diff/1/src/code-stubs.h
File src/code-stubs.h (right):

https://codereview.chromium.org/498283002/diff/1/src/code-stubs.h#newcode808
src/code-stubs.h:808: class ArgumentCountBits : public
BitField<ArgumentCountKey, 0, 2> {};
On 2014/08/26 09:05:02, mvstanton wrote:
I think you can add a static assert somewhere that enum
ArgumentCountKey fits in
two bits.

BitField::encode should already check whether the value fits.

https://codereview.chromium.org/498283002/

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