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

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

Issue 2752043002: [promises] Add %WaitForPromise runtime call to allow tests to reliably wait for promises to be fini… (Closed)
Patch Set: Don't touch runtime-promise.cc Created 3 years, 9 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 | « src/isolate.h ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 F(EnqueuePromiseResolveThenableJob, 1, 1) \ 450 F(EnqueuePromiseResolveThenableJob, 1, 1) \
451 F(PromiseHookInit, 2, 1) \ 451 F(PromiseHookInit, 2, 1) \
452 F(PromiseHookResolve, 1, 1) \ 452 F(PromiseHookResolve, 1, 1) \
453 F(PromiseHookBefore, 1, 1) \ 453 F(PromiseHookBefore, 1, 1) \
454 F(PromiseHookAfter, 1, 1) \ 454 F(PromiseHookAfter, 1, 1) \
455 F(PromiseMarkAsHandled, 1, 1) \ 455 F(PromiseMarkAsHandled, 1, 1) \
456 F(PromiseRejectEventFromStack, 2, 1) \ 456 F(PromiseRejectEventFromStack, 2, 1) \
457 F(PromiseRevokeReject, 1, 1) \ 457 F(PromiseRevokeReject, 1, 1) \
458 F(PromiseResult, 1, 1) \ 458 F(PromiseResult, 1, 1) \
459 F(PromiseStatus, 1, 1) \ 459 F(PromiseStatus, 1, 1) \
460 F(ReportPromiseReject, 2, 1) 460 F(ReportPromiseReject, 2, 1) \
461 F(IncrementWaitCount, 0, 1) \
462 F(DecrementWaitCount, 0, 1)
461 463
462 #define FOR_EACH_INTRINSIC_PROXY(F) \ 464 #define FOR_EACH_INTRINSIC_PROXY(F) \
463 F(IsJSProxy, 1, 1) \ 465 F(IsJSProxy, 1, 1) \
464 F(JSProxyCall, -1 /* >= 2 */, 1) \ 466 F(JSProxyCall, -1 /* >= 2 */, 1) \
465 F(JSProxyConstruct, -1 /* >= 3 */, 1) \ 467 F(JSProxyConstruct, -1 /* >= 3 */, 1) \
466 F(JSProxyGetTarget, 1, 1) \ 468 F(JSProxyGetTarget, 1, 1) \
467 F(JSProxyGetHandler, 1, 1) \ 469 F(JSProxyGetHandler, 1, 1) \
468 F(JSProxyRevoke, 1, 1) 470 F(JSProxyRevoke, 1, 1)
469 471
470 #define FOR_EACH_INTRINSIC_REGEXP(F) \ 472 #define FOR_EACH_INTRINSIC_REGEXP(F) \
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 kMaybeDeopted = 1 << 3, 854 kMaybeDeopted = 1 << 3,
853 kOptimized = 1 << 4, 855 kOptimized = 1 << 4,
854 kTurboFanned = 1 << 5, 856 kTurboFanned = 1 << 5,
855 kInterpreted = 1 << 6, 857 kInterpreted = 1 << 6,
856 }; 858 };
857 859
858 } // namespace internal 860 } // namespace internal
859 } // namespace v8 861 } // namespace v8
860 862
861 #endif // V8_RUNTIME_RUNTIME_H_ 863 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698