• titzer's avatar
    Treat WASM_FUNCTION frames as stubs. · 2c37146b
    titzer authored
    This is "more correct" than WASM_FUNCTION falling through the switch
    over code types and using the marker on the stack which contains a bogus
    value.
    
    In the long run, there will be two kinds of WASM-related frames: frames
    that cross the JS/WASM border, and internal WASM_FUNCTION frames. This
    will necessitate a new StackFrame::Type, since the first kind of frame
    must treat its parameters as tagged values and the second definitely
    should not.
    
    R=mstarzinger@chromium.org
    BUG=
    
    Review URL: https://codereview.chromium.org/1470353002
    
    Cr-Commit-Position: refs/heads/master@{#32256}
    2c37146b
frames.cc 51.1 KB