DescriptionImprove strictness of Annex B 3.3 for generators and async functions
Annex B 3.3 applies only for ordinary FunctionDeclarations, not
GeneratorDeclarations or AsyncFunctionDeclarations. This patch
- Skips applying Annex B 3.3 to async functions
- Adds a flag to refrain from applying it to generators
- UseCounter for how often duplicate function in block occurs
with generators (unclear how to measure need for hoisting from block)
BUG=v8:4806
Committed: https://crrev.com/6390282f9654dcefe1d2123298b50db9ad5ce1f6
Cr-Commit-Position: refs/heads/master@{#36557}
Patch Set 1 #Patch Set 2 : style fix #Patch Set 3 : fix cast #Patch Set 4 : Use the right function map #Patch Set 5 : fix mixed duplicates #
Messages
Total messages: 30 (13 generated)
|