DescriptionRemove synthetic unresolved variables from async/await desugaring
This patch uses temporaries rather than unresolved variables for
.promise and .debug_is_active. For .promise, a new field is added
to the FunctionState, similarly to .generator_object. This change
fixes a bug where .promise was locally shadowable by with, affecting
program semantics.
BUG=v8:5405
Committed: https://crrev.com/bd078193a0502add9ff904f0e41150293604f954
Cr-Commit-Position: refs/heads/master@{#39566}
Patch Set 1 #Patch Set 2 : Remove synthetic unresolved variables from async/await desugaring #Patch Set 3 : Clean up formatting/comments #
Total comments: 2
Patch Set 4 : regress test; nullptr #Patch Set 5 : Fix bug number #
Messages
Total messages: 21 (14 generated)
|