Description[turbofan] Fix receiver binding for inlined callees.
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
Committed: https://crrev.com/37f5e23b5c81ce45b1c7d79637f92ec4ceb16d3e
Cr-Commit-Position: refs/heads/master@{#31598}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fix compilation. #Patch Set 3 : Fix for builtins. #Patch Set 4 : Addressed comments. #
Total comments: 2
Patch Set 5 : Fix typos. #Patch Set 6 : Addressed comments. #
Messages
Total messages: 10 (2 generated)
|