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

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

Issue 2853393002: [builtins] Migrate Object.keys to CodeStubAssembler builtin. (Closed)
Patch Set: Properly handle the empty case. Created 3 years, 7 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
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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 CPP(ObjectGetOwnPropertyNames) \ 674 CPP(ObjectGetOwnPropertyNames) \
675 CPP(ObjectGetOwnPropertySymbols) \ 675 CPP(ObjectGetOwnPropertySymbols) \
676 CPP(ObjectGetPrototypeOf) \ 676 CPP(ObjectGetPrototypeOf) \
677 CPP(ObjectSetPrototypeOf) \ 677 CPP(ObjectSetPrototypeOf) \
678 /* ES6 #sec-object.prototype.hasownproperty */ \ 678 /* ES6 #sec-object.prototype.hasownproperty */ \
679 TFJ(ObjectHasOwnProperty, 1, kKey) \ 679 TFJ(ObjectHasOwnProperty, 1, kKey) \
680 CPP(ObjectIs) \ 680 CPP(ObjectIs) \
681 CPP(ObjectIsExtensible) \ 681 CPP(ObjectIsExtensible) \
682 CPP(ObjectIsFrozen) \ 682 CPP(ObjectIsFrozen) \
683 CPP(ObjectIsSealed) \ 683 CPP(ObjectIsSealed) \
684 CPP(ObjectKeys) \ 684 TFJ(ObjectKeys, 1, kObject) \
685 CPP(ObjectLookupGetter) \ 685 CPP(ObjectLookupGetter) \
686 CPP(ObjectLookupSetter) \ 686 CPP(ObjectLookupSetter) \
687 CPP(ObjectPreventExtensions) \ 687 CPP(ObjectPreventExtensions) \
688 /* ES6 #sec-object.prototype.tostring */ \ 688 /* ES6 #sec-object.prototype.tostring */ \
689 TFJ(ObjectProtoToString, 0) \ 689 TFJ(ObjectProtoToString, 0) \
690 /* ES6 #sec-object.prototype.valueof */ \ 690 /* ES6 #sec-object.prototype.valueof */ \
691 TFJ(ObjectPrototypeValueOf, 0) \ 691 TFJ(ObjectPrototypeValueOf, 0) \
692 CPP(ObjectPrototypePropertyIsEnumerable) \ 692 CPP(ObjectPrototypePropertyIsEnumerable) \
693 CPP(ObjectPrototypeGetProto) \ 693 CPP(ObjectPrototypeGetProto) \
694 CPP(ObjectPrototypeSetProto) \ 694 CPP(ObjectPrototypeSetProto) \
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 #define BUILTIN_LIST_TFS(V) \ 1055 #define BUILTIN_LIST_TFS(V) \
1056 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 1056 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
1057 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) 1057 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN)
1058 1058
1059 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1059 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
1060 1060
1061 } // namespace internal 1061 } // namespace internal
1062 } // namespace v8 1062 } // namespace v8
1063 1063
1064 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1064 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698