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

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

Issue 2575313002: [promisehook] Implement PromiseHook (Closed)
Patch Set: rebase + add comments 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-promise.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_BUILTINS_BUILTINS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 CPP(ObjectSeal) \ 559 CPP(ObjectSeal) \
560 CPP(ObjectValues) \ 560 CPP(ObjectValues) \
561 \ 561 \
562 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ 562 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \
563 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ 563 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \
564 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ 564 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \
565 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ 565 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \
566 \ 566 \
567 /* Promise */ \ 567 /* Promise */ \
568 TFJ(PromiseConstructor, 1) \ 568 TFJ(PromiseConstructor, 1) \
569 TFJ(PromiseInternalConstructor, 0) \ 569 TFJ(PromiseInternalConstructor, 1) \
570 TFJ(IsPromise, 1) \ 570 TFJ(IsPromise, 1) \
571 CPP(CreateResolvingFunctions) \ 571 CPP(CreateResolvingFunctions) \
572 TFJ(PromiseResolveClosure, 1) \ 572 TFJ(PromiseResolveClosure, 1) \
573 CPP(PromiseRejectClosure) \ 573 CPP(PromiseRejectClosure) \
574 TFJ(PromiseThen, 2) \ 574 TFJ(PromiseThen, 2) \
575 TFJ(PromiseCreateAndSet, 2) \ 575 TFJ(PromiseCreateAndSet, 2) \
576 TFJ(PerformPromiseThen, 4) \ 576 TFJ(PerformPromiseThen, 4) \
577 TFJ(ResolvePromise, 2) \ 577 TFJ(ResolvePromise, 2) \
578 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \ 578 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \
579 TFJ(PromiseHandle, 4) \ 579 TFJ(PromiseHandle, 4) \
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 853
854 friend class Isolate; 854 friend class Isolate;
855 855
856 DISALLOW_COPY_AND_ASSIGN(Builtins); 856 DISALLOW_COPY_AND_ASSIGN(Builtins);
857 }; 857 };
858 858
859 } // namespace internal 859 } // namespace internal
860 } // namespace v8 860 } // namespace v8
861 861
862 #endif // V8_BUILTINS_BUILTINS_H_ 862 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698