Description[ignition] Collect feedback for super constructor calls.
In order to optimize super constructor calls with ES6 classes, we need
some feedback for both the JSCallConstruct and the resulting JSCreate
nodes in TurboFan. Both already optimize perfectly when the see nodes
with JSFunction constants, so utilizing the existing CallIC machinery
here, enables us to optimize the super constructor calls right now w/o
a lot of effort.
Note that there are probably better ways to track this information,
for example we could do some tracking on the constructor functions;
this will however require serious changes in TurboFan and the runtime,
and would block progress on more important tasks.
R=mythria@chromium.org
BUG=v8:5517
Committed: https://crrev.com/8791f01bb1bd5600976574843609a106d9e92571
Cr-Commit-Position: refs/heads/master@{#40337}
Patch Set 1 #Patch Set 2 : REGOLDEN #
Messages
Total messages: 13 (7 generated)
|