DescriptionFix CompilerHints flag order to match FunctionKind.
The bits in CompilerHints are accessed via FunctionKindBits, and on the other
hand, with accessors defined by BOOL_ACCESSORS(SharedFunctionInfo,
compiler_hints, is_accessor_function, kIsAccessorFunction) etc.
So the bit order in FunctionKind must match CompilerHints.
This is not causing problems (yet) because there's no accessor for these two
bits, but if somebody adds one, things will go wrong.
R=dslomov@chromium.org
BUG=
Committed: https://crrev.com/3ff7da93d81eb7612d4fd3a0341915d4641de175
Cr-Commit-Position: refs/heads/master@{#27096}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|