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

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

Issue 1308163006: Reduce the number of captured variables in async code, by only capturing local (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 5 years, 3 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
« no previous file with comments | « runtime/vm/scopes.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/snapshot_ids.h" 10 #include "vm/snapshot_ids.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 V(AsyncCatchErrorCallback, ":async_op_catch_error") \ 108 V(AsyncCatchErrorCallback, ":async_op_catch_error") \
109 V(AsyncOperationParam, ":async_result") \ 109 V(AsyncOperationParam, ":async_result") \
110 V(AsyncOperationErrorParam, ":async_error_param") \ 110 V(AsyncOperationErrorParam, ":async_error_param") \
111 V(AsyncOperationStackTraceParam, ":async_stack_trace_param") \ 111 V(AsyncOperationStackTraceParam, ":async_stack_trace_param") \
112 V(AsyncSavedTryCtxVarPrefix, ":async_saved_try_ctx_var_") \ 112 V(AsyncSavedTryCtxVarPrefix, ":async_saved_try_ctx_var_") \
113 V(AsyncCatchHelper, "_asyncCatchHelper") \ 113 V(AsyncCatchHelper, "_asyncCatchHelper") \
114 V(AsyncThenWrapperHelper, "_asyncThenWrapperHelper") \ 114 V(AsyncThenWrapperHelper, "_asyncThenWrapperHelper") \
115 V(AsyncErrorWrapperHelper, "_asyncErrorWrapperHelper") \ 115 V(AsyncErrorWrapperHelper, "_asyncErrorWrapperHelper") \
116 V(AsyncAwaitHelper, "_awaitHelper") \ 116 V(AsyncAwaitHelper, "_awaitHelper") \
117 V(Await, "await") \ 117 V(Await, "await") \
118 V(AwaitTempVarPrefix, ":await_temp_var_") \
118 V(AwaitContextVar, ":await_ctx_var") \ 119 V(AwaitContextVar, ":await_ctx_var") \
119 V(AwaitJumpVar, ":await_jump_var") \ 120 V(AwaitJumpVar, ":await_jump_var") \
120 V(Future, "Future") \ 121 V(Future, "Future") \
121 V(FutureMicrotask, "Future.microtask") \ 122 V(FutureMicrotask, "Future.microtask") \
122 V(FutureValue, "Future.value") \ 123 V(FutureValue, "Future.value") \
123 V(FutureThen, "then") \ 124 V(FutureThen, "then") \
124 V(FutureCatchError, "catchError") \ 125 V(FutureCatchError, "catchError") \
125 V(Completer, "Completer") \ 126 V(Completer, "Completer") \
126 V(CompleterComplete, "complete") \ 127 V(CompleterComplete, "complete") \
127 V(CompleterCompleteError, "completeError") \ 128 V(CompleterCompleteError, "completeError") \
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 friend class SnapshotReader; 644 friend class SnapshotReader;
644 friend class SnapshotWriter; 645 friend class SnapshotWriter;
645 friend class ApiMessageReader; 646 friend class ApiMessageReader;
646 647
647 DISALLOW_COPY_AND_ASSIGN(Symbols); 648 DISALLOW_COPY_AND_ASSIGN(Symbols);
648 }; 649 };
649 650
650 } // namespace dart 651 } // namespace dart
651 652
652 #endif // VM_SYMBOLS_H_ 653 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/scopes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698