Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: runtime/vm/symbols.h

Issue 1274133002: Don't zone-register async callbacks for every await call in the VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Move async-classes to async patch. Address comments. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_SYMBOLS_H_ 5 #ifndef VM_SYMBOLS_H_
6 #define VM_SYMBOLS_H_ 6 #define VM_SYMBOLS_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 #include "vm/snapshot_ids.h" 9 #include "vm/snapshot_ids.h"
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 V(On, "on") \ 96 V(On, "on") \
97 V(Of, "of") \ 97 V(Of, "of") \
98 V(Deferred, "deferred") \ 98 V(Deferred, "deferred") \
99 V(Show, "show") \ 99 V(Show, "show") \
100 V(Hide, "hide") \ 100 V(Hide, "hide") \
101 V(Async, "async") \ 101 V(Async, "async") \
102 V(Sync, "sync") \ 102 V(Sync, "sync") \
103 V(YieldKw, "yield") \ 103 V(YieldKw, "yield") \
104 V(AsyncCompleter, ":async_completer") \ 104 V(AsyncCompleter, ":async_completer") \
105 V(AsyncOperation, ":async_op") \ 105 V(AsyncOperation, ":async_op") \
106 V(AsyncThenCallback, ":async_op_then") \
107 V(AsyncCatchErrorCallback, ":async_op_catch_error") \
106 V(AsyncOperationParam, ":async_result") \ 108 V(AsyncOperationParam, ":async_result") \
107 V(AsyncOperationErrorParam, ":async_error_param") \ 109 V(AsyncOperationErrorParam, ":async_error_param") \
108 V(AsyncOperationStackTraceParam, ":async_stack_trace_param") \ 110 V(AsyncOperationStackTraceParam, ":async_stack_trace_param") \
109 V(AsyncSavedTryCtxVarPrefix, ":async_saved_try_ctx_var_") \ 111 V(AsyncSavedTryCtxVarPrefix, ":async_saved_try_ctx_var_") \
110 V(AsyncCatchHelper, "_asyncCatchHelper") \ 112 V(AsyncCatchHelper, "_asyncCatchHelper") \
113 V(AsyncThenWrapperHelper, "_asyncThenWrapperHelper") \
114 V(AsyncErrorWrapperHelper, "_asyncErrorWrapperHelper") \
115 V(AsyncAwaitHelper, "_awaitHelper") \
111 V(Await, "await") \ 116 V(Await, "await") \
112 V(AwaitContextVar, ":await_ctx_var") \ 117 V(AwaitContextVar, ":await_ctx_var") \
113 V(AwaitJumpVar, ":await_jump_var") \ 118 V(AwaitJumpVar, ":await_jump_var") \
114 V(Future, "Future") \ 119 V(Future, "Future") \
115 V(FutureMicrotask, "Future.microtask") \ 120 V(FutureMicrotask, "Future.microtask") \
116 V(FutureValue, "Future.value") \ 121 V(FutureValue, "Future.value") \
117 V(FutureThen, "then") \ 122 V(FutureThen, "then") \
118 V(FutureCatchError, "catchError") \ 123 V(FutureCatchError, "catchError") \
119 V(Completer, "Completer") \ 124 V(Completer, "Completer") \
120 V(CompleterComplete, "complete") \ 125 V(CompleterComplete, "complete") \
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 friend class SnapshotReader; 637 friend class SnapshotReader;
633 friend class SnapshotWriter; 638 friend class SnapshotWriter;
634 friend class ApiMessageReader; 639 friend class ApiMessageReader;
635 640
636 DISALLOW_COPY_AND_ASSIGN(Symbols); 641 DISALLOW_COPY_AND_ASSIGN(Symbols);
637 }; 642 };
638 643
639 } // namespace dart 644 } // namespace dart
640 645
641 #endif // VM_SYMBOLS_H_ 646 #endif // VM_SYMBOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698