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

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

Issue 2934893002: [builtins] Properly optimize Object.prototype.isPrototypeOf. (Closed)
Patch Set: Address feedback. Created 3 years, 6 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 | « src/bootstrapper.cc ('k') | src/builtins/builtins-object-gen.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 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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_DEFINITIONS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_
6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 CPP(ObjectIsFrozen) \ 725 CPP(ObjectIsFrozen) \
726 CPP(ObjectIsSealed) \ 726 CPP(ObjectIsSealed) \
727 TFJ(ObjectKeys, 1, kObject) \ 727 TFJ(ObjectKeys, 1, kObject) \
728 CPP(ObjectLookupGetter) \ 728 CPP(ObjectLookupGetter) \
729 CPP(ObjectLookupSetter) \ 729 CPP(ObjectLookupSetter) \
730 CPP(ObjectPreventExtensions) \ 730 CPP(ObjectPreventExtensions) \
731 /* ES6 #sec-object.prototype.tostring */ \ 731 /* ES6 #sec-object.prototype.tostring */ \
732 TFJ(ObjectProtoToString, 0) \ 732 TFJ(ObjectProtoToString, 0) \
733 /* ES6 #sec-object.prototype.valueof */ \ 733 /* ES6 #sec-object.prototype.valueof */ \
734 TFJ(ObjectPrototypeValueOf, 0) \ 734 TFJ(ObjectPrototypeValueOf, 0) \
735 TFJ(ObjectPrototypeIsPrototypeOf, 1, kValue) \
735 CPP(ObjectPrototypePropertyIsEnumerable) \ 736 CPP(ObjectPrototypePropertyIsEnumerable) \
736 CPP(ObjectPrototypeGetProto) \ 737 CPP(ObjectPrototypeGetProto) \
737 CPP(ObjectPrototypeSetProto) \ 738 CPP(ObjectPrototypeSetProto) \
738 CPP(ObjectSeal) \ 739 CPP(ObjectSeal) \
739 CPP(ObjectValues) \ 740 CPP(ObjectValues) \
740 \ 741 \
741 /* instanceof */ \ 742 /* instanceof */ \
742 TFC(OrdinaryHasInstance, Compare, 1) \ 743 TFC(OrdinaryHasInstance, Compare, 1) \
743 TFC(InstanceOf, Compare, 1) \ 744 TFC(InstanceOf, Compare, 1) \
744 \ 745 \
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 #define BUILTIN_LIST_TFC(V) \ 1135 #define BUILTIN_LIST_TFC(V) \
1135 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, V, \ 1136 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, V, \
1136 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) 1137 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN)
1137 1138
1138 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1139 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
1139 1140
1140 } // namespace internal 1141 } // namespace internal
1141 } // namespace v8 1142 } // namespace v8
1142 1143
1143 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1144 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-object-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698