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

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

Issue 2596553002: [promises] Move Promise.prototype.catch 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-promise.h » ('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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ 564 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \
565 \ 565 \
566 /* Promise */ \ 566 /* Promise */ \
567 TFJ(PromiseConstructor, 1) \ 567 TFJ(PromiseConstructor, 1) \
568 TFJ(PromiseInternalConstructor, 1) \ 568 TFJ(PromiseInternalConstructor, 1) \
569 TFJ(IsPromise, 1) \ 569 TFJ(IsPromise, 1) \
570 TFJ(CreateResolvingFunctions, 2) \ 570 TFJ(CreateResolvingFunctions, 2) \
571 TFJ(PromiseResolveClosure, 1) \ 571 TFJ(PromiseResolveClosure, 1) \
572 CPP(PromiseRejectClosure) \ 572 CPP(PromiseRejectClosure) \
573 TFJ(PromiseThen, 2) \ 573 TFJ(PromiseThen, 2) \
574 TFJ(PromiseCatch, 1) \
574 TFJ(PromiseCreateAndSet, 2) \ 575 TFJ(PromiseCreateAndSet, 2) \
575 TFJ(PerformPromiseThen, 4) \ 576 TFJ(PerformPromiseThen, 4) \
576 TFJ(ResolvePromise, 2) \ 577 TFJ(ResolvePromise, 2) \
577 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \ 578 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \
578 TFJ(PromiseHandle, 4) \ 579 TFJ(PromiseHandle, 4) \
579 \ 580 \
580 /* Proxy */ \ 581 /* Proxy */ \
581 CPP(ProxyConstructor) \ 582 CPP(ProxyConstructor) \
582 CPP(ProxyConstructor_ConstructStub) \ 583 CPP(ProxyConstructor_ConstructStub) \
583 \ 584 \
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 852
852 friend class Isolate; 853 friend class Isolate;
853 854
854 DISALLOW_COPY_AND_ASSIGN(Builtins); 855 DISALLOW_COPY_AND_ASSIGN(Builtins);
855 }; 856 };
856 857
857 } // namespace internal 858 } // namespace internal
858 } // namespace v8 859 } // namespace v8
859 860
860 #endif // V8_BUILTINS_BUILTINS_H_ 861 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698