• clemensh's avatar
    Refactor FrameSummary for JS and Wasm frames · df5417ae
    clemensh authored
    Wasm frames can be either compiled or interpreted. For interpreted wasm
    frames, there is only one physical stack frame representing an
    arbitrary stack of interpreted functions. Hence the physical stack
    frame needs to provide a summary of the underlying functions.
    Summaries were tailored for JavaScript frames before. Now they are
    universal.
    
    The refactored FrameSummaries are now also used in the FrameInspector,
    and from the StackFrame objects themselves, to avoid code duplication.
    
    All dispatch is implemented "manually", making the FrameSummary still
    stack-allocatable.
    
    BUG=v8:5822
    R=yangguo@chromium.org, titzer@chromium.org
    
    Review-Url: https://codereview.chromium.org/2619353006
    Cr-Commit-Position: refs/heads/master@{#42279}
    df5417ae
frames-inl.h 9.45 KB