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

Side by Side Diff: src/runtime/runtime.h

Issue 2541283002: [promises] Port ResolvePromise to TF (Closed)
Patch Set: fix nits Created 4 years 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 F(InstallToContext, 1, 1) \ 302 F(InstallToContext, 1, 1) \
303 F(Interrupt, 0, 1) \ 303 F(Interrupt, 0, 1) \
304 F(IS_VAR, 1, 1) \ 304 F(IS_VAR, 1, 1) \
305 F(NewReferenceError, 2, 1) \ 305 F(NewReferenceError, 2, 1) \
306 F(NewSyntaxError, 2, 1) \ 306 F(NewSyntaxError, 2, 1) \
307 F(NewTypeError, 2, 1) \ 307 F(NewTypeError, 2, 1) \
308 F(OrdinaryHasInstance, 2, 1) \ 308 F(OrdinaryHasInstance, 2, 1) \
309 F(PromiseDeferred, 1, 1) \ 309 F(PromiseDeferred, 1, 1) \
310 F(PromiseReject, 3, 1) \ 310 F(PromiseReject, 3, 1) \
311 F(PromiseFulfill, 3, 1) \ 311 F(PromiseFulfill, 3, 1) \
312 F(PromiseMarkAsHandled, 1, 1) \
312 F(PromiseRejectEventFromStack, 2, 1) \ 313 F(PromiseRejectEventFromStack, 2, 1) \
313 F(PromiseRejectReactions, 1, 1) \ 314 F(PromiseRejectReactions, 1, 1) \
314 F(PromiseRevokeReject, 1, 1) \ 315 F(PromiseRevokeReject, 1, 1) \
315 F(PromiseResult, 1, 1) \ 316 F(PromiseResult, 1, 1) \
316 F(PromiseStatus, 1, 1) \ 317 F(PromiseStatus, 1, 1) \
317 F(PromoteScheduledException, 0, 1) \ 318 F(PromoteScheduledException, 0, 1) \
318 F(ReThrow, 1, 1) \ 319 F(ReThrow, 1, 1) \
319 F(RunMicrotasks, 0, 1) \ 320 F(RunMicrotasks, 0, 1) \
320 F(StackGuard, 0, 1) \ 321 F(StackGuard, 0, 1) \
321 F(Throw, 1, 1) \ 322 F(Throw, 1, 1) \
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 1137
1137 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1138 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1138 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1139 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1139 STATIC_ASSERT(LANGUAGE_END == 2); 1140 STATIC_ASSERT(LANGUAGE_END == 2);
1140 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1141 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1141 1142
1142 } // namespace internal 1143 } // namespace internal
1143 } // namespace v8 1144 } // namespace v8
1144 1145
1145 #endif // V8_RUNTIME_RUNTIME_H_ 1146 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/js/promise.js ('K') | « src/promise-utils.cc ('k') | src/runtime/runtime-promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698