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

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

Issue 2735563002: Migrate %TypedArray%.prototype.fill to C++ (Closed)
Patch Set: Merge branch 'master' into fill Created 3 years, 9 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 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 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ 848 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \
849 TFJ(TypedArrayPrototypeLength, 0) \ 849 TFJ(TypedArrayPrototypeLength, 0) \
850 /* ES6 #sec-%typedarray%.prototype.entries */ \ 850 /* ES6 #sec-%typedarray%.prototype.entries */ \
851 TFJ(TypedArrayPrototypeEntries, 0) \ 851 TFJ(TypedArrayPrototypeEntries, 0) \
852 /* ES6 #sec-%typedarray%.prototype.keys */ \ 852 /* ES6 #sec-%typedarray%.prototype.keys */ \
853 TFJ(TypedArrayPrototypeKeys, 0) \ 853 TFJ(TypedArrayPrototypeKeys, 0) \
854 /* ES6 #sec-%typedarray%.prototype.values */ \ 854 /* ES6 #sec-%typedarray%.prototype.values */ \
855 TFJ(TypedArrayPrototypeValues, 0) \ 855 TFJ(TypedArrayPrototypeValues, 0) \
856 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ 856 /* ES6 #sec-%typedarray%.prototype.copywithin */ \
857 CPP(TypedArrayPrototypeCopyWithin) \ 857 CPP(TypedArrayPrototypeCopyWithin) \
858 /* ES6 #sec-%typedarray%.prototype.fill */ \
859 CPP(TypedArrayPrototypeFill) \
858 /* ES7 #sec-%typedarray%.prototype.includes */ \ 860 /* ES7 #sec-%typedarray%.prototype.includes */ \
859 CPP(TypedArrayPrototypeIncludes) \ 861 CPP(TypedArrayPrototypeIncludes) \
860 /* ES6 #sec-%typedarray%.prototype.indexof */ \ 862 /* ES6 #sec-%typedarray%.prototype.indexof */ \
861 CPP(TypedArrayPrototypeIndexOf) \ 863 CPP(TypedArrayPrototypeIndexOf) \
862 /* ES6 #sec-%typedarray%.prototype.indexof */ \ 864 /* ES6 #sec-%typedarray%.prototype.indexof */ \
863 CPP(TypedArrayPrototypeLastIndexOf) \ 865 CPP(TypedArrayPrototypeLastIndexOf) \
864 \ 866 \
865 /* Wasm */ \ 867 /* Wasm */ \
866 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 868 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
867 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 869 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 1056
1055 friend class Isolate; 1057 friend class Isolate;
1056 1058
1057 DISALLOW_COPY_AND_ASSIGN(Builtins); 1059 DISALLOW_COPY_AND_ASSIGN(Builtins);
1058 }; 1060 };
1059 1061
1060 } // namespace internal 1062 } // namespace internal
1061 } // namespace v8 1063 } // namespace v8
1062 1064
1063 #endif // V8_BUILTINS_BUILTINS_H_ 1065 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-typedarray.cc » ('j') | src/elements.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698