DescriptionInitialize the async jump variable with a smi to avoid polymorphic comparison.
Using the implicit initial null value makes the comparison in the dispatch
prologue of async closures polymorphic (Null|Smi). Initializing to it -1
eliminates the unnecessary class check for null.
Small clean up of scopes and internal variables used for async functions:
Capture them in the parser, so that there is no need to do this later in the
async-transformer.
R=hausner@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41123
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Messages
Total messages: 5 (1 generated)
|