DescriptionFix Function subclassing.
Function subclasses did not have function properties installed (name, prototype, etc.).
Now when an instance of a Function subclass is created it gets initial map that corresponds
to the language mode of the function body. The language mode dependent maps are cached as
special transitions on initial map of the subclass constructor.
BUG=v8:4597, v8:3101, v8:3330
LOG=Y
Committed: https://crrev.com/dddcd0ac17be9e24df15fc6ae4993f2b75bc256d
Cr-Commit-Position: refs/heads/master@{#32764}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Addressing comments #
Total comments: 4
Patch Set 3 : Addressing comments #Patch Set 4 : Rebased and updated reflect-construct test #
Total comments: 7
Patch Set 5 : Adressing comments #
Messages
Total messages: 27 (13 generated)
|