• mstarzinger's avatar
    [turbofan] Fix receiver binding for inlined callees. · 37f5e23b
    mstarzinger authored
    This introduces a JSConvertReceiver operator to model the implicit
    conversion of receiver values for sloppy callees. It is used by the
    JSInliner for now, but can also be used to model direction function
    calls that bypass call stubs.
    
    Also note that a hint is passed to said operator whenever the source
    structure constrains the receiver value type. This hint allows for
    optimizations in the lowering of the operator.
    
    The underlying specification in ES6, section 9.2.1.2 is the basis for
    this implementation.
    
    R=bmeurer@chromium.org
    TEST=mjsunit/compiler/receiver-conversion
    BUG=v8:4493, v8:4470
    LOG=n
    
    Review URL: https://codereview.chromium.org/1412223015
    
    Cr-Commit-Position: refs/heads/master@{#31598}
    37f5e23b
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...