• mythria's avatar
    [Interpreter] Handles stack overflow in interpreter. · 4d325854
    mythria authored
    Handles stack overflow in interpreter.
    1. When visiting function literal, if the shared function
     info cannot be found we should return a stack overflow.
    2. When visiting the ast graph, if stack overflow happens
     then all the ast nodes are not visited, so we need to have
    appropriate handling in the AccumulatorResultScope and
    RegisterResultScope.
    3. MakeBytecode should not return a suceess unconditionally.
    If there is a stack overflow, it should return false, so
    RangeError can be thrown.
    
    BUG=v8:4280,v8:4680
    LOG=N
    
    Review URL: https://codereview.chromium.org/1721983005
    
    Cr-Commit-Position: refs/heads/master@{#34282}
    4d325854
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
fuzzer Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
ignition.gyp Loading commit data...
ignition.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...