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

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: Add ForTesting 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
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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 F(EnqueuePromiseResolveThenableJob, 1, 1) \ 449 F(EnqueuePromiseResolveThenableJob, 1, 1) \
450 F(PromiseHookInit, 2, 1) \ 450 F(PromiseHookInit, 2, 1) \
451 F(PromiseHookResolve, 1, 1) \ 451 F(PromiseHookResolve, 1, 1) \
452 F(PromiseHookBefore, 1, 1) \ 452 F(PromiseHookBefore, 1, 1) \
453 F(PromiseHookAfter, 1, 1) \ 453 F(PromiseHookAfter, 1, 1) \
454 F(PromiseMarkAsHandled, 1, 1) \ 454 F(PromiseMarkAsHandled, 1, 1) \
455 F(PromiseRejectEventFromStack, 2, 1) \ 455 F(PromiseRejectEventFromStack, 2, 1) \
456 F(PromiseRevokeReject, 1, 1) \ 456 F(PromiseRevokeReject, 1, 1) \
457 F(PromiseResult, 1, 1) \ 457 F(PromiseResult, 1, 1) \
458 F(PromiseStatus, 1, 1) \ 458 F(PromiseStatus, 1, 1) \
459 F(ReportPromiseReject, 2, 1) 459 F(ReportPromiseReject, 2, 1) \
460 F(IncrementWaitCount, 0, 1) \
461 F(DecrementWaitCount, 0, 1)
460 462
461 #define FOR_EACH_INTRINSIC_PROXY(F) \ 463 #define FOR_EACH_INTRINSIC_PROXY(F) \
462 F(IsJSProxy, 1, 1) \ 464 F(IsJSProxy, 1, 1) \
463 F(JSProxyCall, -1 /* >= 2 */, 1) \ 465 F(JSProxyCall, -1 /* >= 2 */, 1) \
464 F(JSProxyConstruct, -1 /* >= 3 */, 1) \ 466 F(JSProxyConstruct, -1 /* >= 3 */, 1) \
465 F(JSProxyGetTarget, 1, 1) \ 467 F(JSProxyGetTarget, 1, 1) \
466 F(JSProxyGetHandler, 1, 1) \ 468 F(JSProxyGetHandler, 1, 1) \
467 F(JSProxyRevoke, 1, 1) 469 F(JSProxyRevoke, 1, 1)
468 470
469 #define FOR_EACH_INTRINSIC_REGEXP(F) \ 471 #define FOR_EACH_INTRINSIC_REGEXP(F) \
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 kMaybeDeopted = 1 << 3, 853 kMaybeDeopted = 1 << 3,
852 kOptimized = 1 << 4, 854 kOptimized = 1 << 4,
853 kTurboFanned = 1 << 5, 855 kTurboFanned = 1 << 5,
854 kInterpreted = 1 << 6, 856 kInterpreted = 1 << 6,
855 }; 857 };
856 858
857 } // namespace internal 859 } // namespace internal
858 } // namespace v8 860 } // namespace v8
859 861
860 #endif // V8_RUNTIME_RUNTIME_H_ 862 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698