• marja's avatar
    Fix CompilerHints flag order to match FunctionKind. · 3ff7da93
    marja authored
    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=
    
    Review URL: https://codereview.chromium.org/988413002
    
    Cr-Commit-Position: refs/heads/master@{#27096}
    3ff7da93
objects.h 396 KB