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