• Ross McIlroy's avatar
    [Turboprop] Ensure constant operands are only used when allowed. · f5305393
    Ross McIlroy authored
    Previously it was possible for a slot operand to be allocated a
    constant operand which is not valid. This CL adds support to the
    mid-tier register allocator to keep track of whether spilled operands
    can support constant operands, and if not to instead move the constant
    to a spill slot at it's definition point, and use that spill slot
    instead.
    
    In the process of doing this, we can cleanup the hack that
    required constants to always be allocated to a register for
    REGISTER_OR_SLOT operator policies.
    
    BUG=chromium:10772,v8:10772,v8:9684
    
    Change-Id: I975ea2c481b45fc0855e175bc6dc2bd0a83f509a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2692569Reviewed-by: 's avatarSantiago Aboy Solanes <solanes@chromium.org>
    Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72722}
    f5305393
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector 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...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...