| Index: runtime/vm/ast_transformer.cc
|
| diff --git a/runtime/vm/ast_transformer.cc b/runtime/vm/ast_transformer.cc
|
| index 2137931d3acd75f4b2a66044a748573e861fa421..a81babbdaf2dd78b7809fb57e09bed2b385e678e 100644
|
| --- a/runtime/vm/ast_transformer.cc
|
| +++ b/runtime/vm/ast_transformer.cc
|
| @@ -10,6 +10,9 @@
|
|
|
| namespace dart {
|
|
|
| +// Quick access to the current thread.
|
| +#define T (thread())
|
| +
|
| // Quick access to the current zone.
|
| #define Z (thread()->zone())
|
|
|
| @@ -66,8 +69,8 @@ AstNode* AwaitTransformer::Transform(AstNode* expr) {
|
|
|
| LocalVariable* AwaitTransformer::EnsureCurrentTempVar() {
|
| String& symbol =
|
| - String::ZoneHandle(Z, Symbols::NewFormatted("%d", temp_cnt_));
|
| - symbol = Symbols::FromConcat(Symbols::AwaitTempVarPrefix(), symbol);
|
| + String::ZoneHandle(Z, Symbols::NewFormatted(T, "%d", temp_cnt_));
|
| + symbol = Symbols::FromConcat(T, Symbols::AwaitTempVarPrefix(), symbol);
|
| ASSERT(!symbol.IsNull());
|
| // Look up the variable in the scope used for async temp variables.
|
| LocalVariable* await_tmp = async_temp_scope_->LocalLookupVariable(symbol);
|
|
|