• 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-codegen-s390.cc Loading commit data...
lithium-codegen-s390.h Loading commit data...
lithium-gap-resolver-s390.cc Loading commit data...
lithium-gap-resolver-s390.h Loading commit data...
lithium-s390.cc Loading commit data...
lithium-s390.h Loading commit data...