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

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

Issue 2497523002: [promises] Move promise constructor to TFS (Closed)
Patch Set: fix test 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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 CPP(ObjectPrototypeSetProto) \ 556 CPP(ObjectPrototypeSetProto) \
557 CPP(ObjectSeal) \ 557 CPP(ObjectSeal) \
558 CPP(ObjectValues) \ 558 CPP(ObjectValues) \
559 \ 559 \
560 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ 560 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \
561 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ 561 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \
562 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ 562 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \
563 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ 563 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \
564 \ 564 \
565 /* Promise */ \ 565 /* Promise */ \
566 TFJ(PromiseConstructor, 1) \
567 TFJ(PromiseInternalConstructor, 0) \
568 TFJ(IsPromise, 1) \
caitp 2016/11/29 13:33:00 Maybe for the internal functions, we should skip t
gsathya 2016/12/01 20:03:53 AFAIK, this sets up the number of stack parameters
caitp 2016/12/01 20:12:37 well, what's going on with StringFromCharCode then
566 CPP(CreateResolvingFunctions) \ 569 CPP(CreateResolvingFunctions) \
567 CPP(PromiseResolveClosure) \ 570 CPP(PromiseResolveClosure) \
568 CPP(PromiseRejectClosure) \ 571 CPP(PromiseRejectClosure) \
569 \ 572 \
570 /* Proxy */ \ 573 /* Proxy */ \
571 CPP(ProxyConstructor) \ 574 CPP(ProxyConstructor) \
572 CPP(ProxyConstructor_ConstructStub) \ 575 CPP(ProxyConstructor_ConstructStub) \
573 \ 576 \
574 /* Reflect */ \ 577 /* Reflect */ \
575 ASM(ReflectApply) \ 578 ASM(ReflectApply) \
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 844
842 friend class Isolate; 845 friend class Isolate;
843 846
844 DISALLOW_COPY_AND_ASSIGN(Builtins); 847 DISALLOW_COPY_AND_ASSIGN(Builtins);
845 }; 848 };
846 849
847 } // namespace internal 850 } // namespace internal
848 } // namespace v8 851 } // namespace v8
849 852
850 #endif // V8_BUILTINS_BUILTINS_H_ 853 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698