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

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

Issue 2642443002: Support FutureOr<T> in the VM (fixes #28010). (Closed)
Patch Set: Created 3 years, 11 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 RUNTIME_VM_SYMBOLS_H_ 5 #ifndef RUNTIME_VM_SYMBOLS_H_
6 #define RUNTIME_VM_SYMBOLS_H_ 6 #define RUNTIME_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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 V(AsyncSavedTryCtxVarPrefix, ":async_saved_try_ctx_var_") \ 120 V(AsyncSavedTryCtxVarPrefix, ":async_saved_try_ctx_var_") \
121 V(AsyncCatchHelper, "_asyncCatchHelper") \ 121 V(AsyncCatchHelper, "_asyncCatchHelper") \
122 V(AsyncThenWrapperHelper, "_asyncThenWrapperHelper") \ 122 V(AsyncThenWrapperHelper, "_asyncThenWrapperHelper") \
123 V(AsyncErrorWrapperHelper, "_asyncErrorWrapperHelper") \ 123 V(AsyncErrorWrapperHelper, "_asyncErrorWrapperHelper") \
124 V(AsyncAwaitHelper, "_awaitHelper") \ 124 V(AsyncAwaitHelper, "_awaitHelper") \
125 V(Await, "await") \ 125 V(Await, "await") \
126 V(AwaitTempVarPrefix, ":await_temp_var_") \ 126 V(AwaitTempVarPrefix, ":await_temp_var_") \
127 V(AwaitContextVar, ":await_ctx_var") \ 127 V(AwaitContextVar, ":await_ctx_var") \
128 V(AwaitJumpVar, ":await_jump_var") \ 128 V(AwaitJumpVar, ":await_jump_var") \
129 V(Future, "Future") \ 129 V(Future, "Future") \
130 V(FutureOr, "FutureOr") \
130 V(FutureMicrotask, "Future.microtask") \ 131 V(FutureMicrotask, "Future.microtask") \
131 V(FutureValue, "Future.value") \ 132 V(FutureValue, "Future.value") \
132 V(FutureThen, "then") \ 133 V(FutureThen, "then") \
133 V(FutureCatchError, "catchError") \ 134 V(FutureCatchError, "catchError") \
134 V(Completer, "Completer") \ 135 V(Completer, "Completer") \
135 V(CompleterComplete, "complete") \ 136 V(CompleterComplete, "complete") \
136 V(CompleterCompleteError, "completeError") \ 137 V(CompleterCompleteError, "completeError") \
137 V(CompleterSyncConstructor, "Completer.sync") \ 138 V(CompleterSyncConstructor, "Completer.sync") \
138 V(CompleterFuture, "future") \ 139 V(CompleterFuture, "future") \
139 V(StreamIterator, "StreamIterator") \ 140 V(StreamIterator, "StreamIterator") \
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 friend class Serializer; 683 friend class Serializer;
683 friend class Deserializer; 684 friend class Deserializer;
684 friend class ApiMessageReader; 685 friend class ApiMessageReader;
685 686
686 DISALLOW_COPY_AND_ASSIGN(Symbols); 687 DISALLOW_COPY_AND_ASSIGN(Symbols);
687 }; 688 };
688 689
689 } // namespace dart 690 } // namespace dart
690 691
691 #endif // RUNTIME_VM_SYMBOLS_H_ 692 #endif // RUNTIME_VM_SYMBOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698