• Clemens Hammacher's avatar
    [wasm] [interpreter] Avoid double parsing of locals · 366f7530
    Clemens Hammacher authored
    The local variables were parsed two times, which in fact doubled the
    amount of local variables allocated for each called function.
    This was costing memory and performance. As the additional local
    variables were never used, we did not recognize this before.
    
    Add a test case for locals and stack values of interpreted frames.
    
    R=ahaas@chromium.org
    BUG=v8:5822
    
    Change-Id: Ie5cb8d8f5441edee6abb46aa6bebef4a033d582b
    Reviewed-on: https://chromium-review.googlesource.com/474749
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#44602}
    366f7530
test-wasm-breakpoints.cc 15.5 KB