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

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

Issue 2575313002: [promisehook] Implement PromiseHook (Closed)
Patch Set: add tests 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 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 856
857 friend class Isolate; 857 friend class Isolate;
858 858
859 DISALLOW_COPY_AND_ASSIGN(Builtins); 859 DISALLOW_COPY_AND_ASSIGN(Builtins);
860 }; 860 };
861 861
862 } // namespace internal 862 } // namespace internal
863 } // namespace v8 863 } // namespace v8
864 864
865 #endif // V8_BUILTINS_BUILTINS_H_ 865 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698