Description[turbofan] When inlining JSCallConstruct receiver should be set to the hole.
When inlining JSCallConstruct in turbofan, receiver is initialized to model
the behaviour of constructor. When an implicit receiver is not required the
receiver value should be set to the hole value instead of undefined value.
When initializing the receiver via super calls, we check that the receiver
is the hole value.
BUG=chromium:653407
Committed: https://crrev.com/cad36659b1dc230773eb6d2a985fa8b9a12a4d86
Cr-Commit-Position: refs/heads/master@{#40396}
Patch Set 1 #Patch Set 2 : Added a regress test. #
Messages
Total messages: 22 (16 generated)
|