• rmcilroy's avatar
    [Interpreter] Allocate registers used as call arguments on-demand. · ae741d04
    rmcilroy authored
    Allocate the registers used as arguments to a call on-demand after visiting the
    argument (or reciever). This means that the visited expression can use registers
    that would otherwise have been allocated for arguments which haven't been
    visited yet.
    
    The reason for doing this is to avoid keeping things live in registers
    unecessarily for chained function calls, which avoids a memory leak for
    functions which chain a large number of calls with large temporary arguments /
    recievers.
    
    BUG=chromium:672027
    
    Review-Url: https://codereview.chromium.org/2557173004
    Cr-Commit-Position: refs/heads/master@{#41714}
    ae741d04
regress-672027.js 410 Bytes