• mstarzinger's avatar
    [compiler] Remove dangerous language mode accessors. · db1b27e8
    mstarzinger authored
    The language mode is no longer constant accross a compilation unit. For
    example the extends clause of a class literal can be in strict mode even
    though the surrounding function is in sloppy mode. This makes any global
    language mode predicate that reasons over an entire function inherently
    dangerous. Instead one should use the appropriate predicate on scopes or
    literals directly.
    
    R=bmeurer@chromium.org
    
    Review-Url: https://codereview.chromium.org/1949013002
    Cr-Commit-Position: refs/heads/master@{#36010}
    db1b27e8
Name
Last commit
Last update
..
OWNERS Loading commit data...
lithium-arm.cc Loading commit data...
lithium-arm.h Loading commit data...
lithium-codegen-arm.cc Loading commit data...
lithium-codegen-arm.h Loading commit data...
lithium-gap-resolver-arm.cc Loading commit data...
lithium-gap-resolver-arm.h Loading commit data...