• leszeks's avatar
    [Interpreter] Move context chain search loop to handler · 1c0c5fda
    leszeks authored
    Moves the context chain search loop out of generated bytecode, and into
    the (Lda|Ldr|Sda)ContextSlot handler, by passing the context depth in as
    an additional operand. This should decrease the bytecode size and
    increase performance for deep context chain searches, at the cost of
    slightly increasing bytecode size for shallow context access.
    
    Review-Url: https://codereview.chromium.org/2336643002
    Cr-Commit-Position: refs/heads/master@{#39378}
    1c0c5fda
ClassDeclarations.golden 7.36 KB