• jgruber's avatar
    [simulator] Check for C stack overflows during Invoke · 0b3e6843
    jgruber authored
    Simulators use separate stacks for C++ and JS. JS stack overflow checks
    are performed whenever a JS function is called. However, it can be the
    case that the C++ stack grows faster than the JS stack, resulting in an
    overflow there. Add a check here to make that less likely.
    
    BUG=chromium:604376
    R=bmeurer@chromium.org, yangguo@chromium.org
    
    Review-Url: https://codereview.chromium.org/2151663003
    Cr-Commit-Position: refs/heads/master@{#37749}
    0b3e6843
execution.cc 15.8 KB