• marja's avatar
    Scopes: simplify scope creation. · 7eaeb5ae
    marja authored
    With scopes: Don't call the ctor which wants a ScopeInfo if we
    don't want to pass it, instead call a ctor which doesn't need it.
    
    In addition, remove inner_scope from ctors and adjust it
    explicitly afterwards. It's confusing that some ctors get passed
    inner scopes and some outer scopes.
    
    BUG=v8:5209
    
    Review-Url: https://codereview.chromium.org/2270743002
    Cr-Commit-Position: refs/heads/master@{#38859}
    7eaeb5ae
scopes.h 32.6 KB