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

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

Issue 2684033012: [es2015] Remove the @@hasInstance protector cell. (Closed)
Patch Set: REBASE Created 3 years, 10 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
« no previous file with comments | « no previous file | src/code-stub-assembler.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/globals.h" 9 #include "src/globals.h"
10 10
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 CPP(ObjectLookupSetter) \ 634 CPP(ObjectLookupSetter) \
635 CPP(ObjectPreventExtensions) \ 635 CPP(ObjectPreventExtensions) \
636 /* ES6 section 19.1.3.6 Object.prototype.toString () */ \ 636 /* ES6 section 19.1.3.6 Object.prototype.toString () */ \
637 TFJ(ObjectProtoToString, 0) \ 637 TFJ(ObjectProtoToString, 0) \
638 CPP(ObjectPrototypePropertyIsEnumerable) \ 638 CPP(ObjectPrototypePropertyIsEnumerable) \
639 CPP(ObjectPrototypeGetProto) \ 639 CPP(ObjectPrototypeGetProto) \
640 CPP(ObjectPrototypeSetProto) \ 640 CPP(ObjectPrototypeSetProto) \
641 CPP(ObjectSeal) \ 641 CPP(ObjectSeal) \
642 CPP(ObjectValues) \ 642 CPP(ObjectValues) \
643 \ 643 \
644 /* instanceof */ \
645 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare, 1) \
644 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare, 1) \ 646 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare, 1) \
645 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare, 1) \ 647 \
648 /* for-in */ \
646 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter, 1) \ 649 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter, 1) \
647 TFS(ForInNext, BUILTIN, kNoExtraICState, ForInNext, 1) \ 650 TFS(ForInNext, BUILTIN, kNoExtraICState, ForInNext, 1) \
648 TFS(ForInPrepare, BUILTIN, kNoExtraICState, ForInPrepare, 3) \ 651 TFS(ForInPrepare, BUILTIN, kNoExtraICState, ForInPrepare, 3) \
649 \ 652 \
650 /* Promise */ \ 653 /* Promise */ \
651 TFJ(PromiseGetCapabilitiesExecutor, 2) \ 654 TFJ(PromiseGetCapabilitiesExecutor, 2) \
652 TFJ(NewPromiseCapability, 2) \ 655 TFJ(NewPromiseCapability, 2) \
653 TFJ(PromiseConstructor, 1) \ 656 TFJ(PromiseConstructor, 1) \
654 TFJ(PromiseInternalConstructor, 1) \ 657 TFJ(PromiseInternalConstructor, 1) \
655 TFJ(IsPromise, 1) \ 658 TFJ(IsPromise, 1) \
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 954
952 friend class Isolate; 955 friend class Isolate;
953 956
954 DISALLOW_COPY_AND_ASSIGN(Builtins); 957 DISALLOW_COPY_AND_ASSIGN(Builtins);
955 }; 958 };
956 959
957 } // namespace internal 960 } // namespace internal
958 } // namespace v8 961 } // namespace v8
959 962
960 #endif // V8_BUILTINS_BUILTINS_H_ 963 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698