• Toon Verwaest's avatar
    Drop stack-locals from ScopeInfo · 467eb149
    Toon Verwaest authored
    For now we keep params since NewSloppyArguments uses it to figure out how to structure the arguments object. We should be able to only keep params in case we have a special case though. E.g., leaf functions with no duplicate parameters don't need special treatment. Or we simply encode the parameter index for each context slot. (I'm not sure duplicates need special treatment.)
    
    
    Change-Id: Icfbb844e5331aeb93c50bc07edd58246c8aeb1d7
    Reviewed-on: https://chromium-review.googlesource.com/1104420
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#53802}
    467eb149
scopes.cc 84.7 KB