• Benedikt Meurer's avatar
    [wasm][debug] Compile source only once for Debug-Evaluate. · 6f6a5404
    Benedikt Meurer authored
    We accidentally compiled the source for Debug-Evaluate on Wasm frames
    twice, and used the first script result as outer function info for the
    second, actual compile (which goes via the `eval` machinery).
    
    Also unify DebugEvaluate::Local and DebugEvaluate::WebAssembly, since
    they are essentially very similar, except for the context.
    
    Bug: chromium:1127914
    Change-Id: I8eb85c128c05ab1d4fcb73061de89b0942d1e5c8
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2605198
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71890}
    6f6a5404
debug-evaluate.h 4.31 KB