DescriptionProperly handle direct evals referencing super in arrow functions
The fix is to broaden the set of cases for when NeedsHomeObject()
returns true. Note that this is broader than it needs to be (since,
e.g., non-arrow function scopes inside a method can't reference
super). But we don't track the types of inner scopes at the moment,
so this is the best we can do.
R=rossberg@chromium.org
BUG=v8:4522
LOG=n
Committed: https://crrev.com/4c3c89c1dea9c43a4a818705a55a31cd39a2dab3
Cr-Commit-Position: refs/heads/master@{#31659}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|