• mythria's avatar
    [Interpreter] Allocates new temporary register outside the reservation for consecutive registers. · e7373f42
    mythria authored
    Consecutive registers are allocated in two passes. First we "reserve"
    a set of registers and these get allocated when we actually use them.
    If we request for a temporary register before we use all the consecutive
    registers, the earlier implementation does not gaurantee that it allocates
    outside the reservation for consecutive registers. This could cause problems
    for example, in call_func(a, b++, c). This cl fixes
    TemporaryRegisterScope::NewRegister, to return a new temporary register
    outside the reservation for consecutive registers.
    
    BUG=v8:4280
    LOG=N
    
    Review URL: https://codereview.chromium.org/1531273002
    
    Cr-Commit-Position: refs/heads/master@{#33005}
    e7373f42
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest 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...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...