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

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

Issue 2732823002: [typedarrays] Move %TypedArray%.prototype.includes to C++ builtins (Closed)
Patch Set: 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-typedarray.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 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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ 814 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \
815 TFJ(TypedArrayPrototypeLength, 0) \ 815 TFJ(TypedArrayPrototypeLength, 0) \
816 /* ES6 #sec-%typedarray%.prototype.entries */ \ 816 /* ES6 #sec-%typedarray%.prototype.entries */ \
817 TFJ(TypedArrayPrototypeEntries, 0) \ 817 TFJ(TypedArrayPrototypeEntries, 0) \
818 /* ES6 #sec-%typedarray%.prototype.keys */ \ 818 /* ES6 #sec-%typedarray%.prototype.keys */ \
819 TFJ(TypedArrayPrototypeKeys, 0) \ 819 TFJ(TypedArrayPrototypeKeys, 0) \
820 /* ES6 #sec-%typedarray%.prototype.values */ \ 820 /* ES6 #sec-%typedarray%.prototype.values */ \
821 TFJ(TypedArrayPrototypeValues, 0) \ 821 TFJ(TypedArrayPrototypeValues, 0) \
822 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ 822 /* ES6 #sec-%typedarray%.prototype.copywithin */ \
823 CPP(TypedArrayPrototypeCopyWithin) \ 823 CPP(TypedArrayPrototypeCopyWithin) \
824 /* ES7 #sec-%typedarray%.prototype.includes */ \
825 CPP(TypedArrayPrototypeIncludes) \
824 \ 826 \
825 /* Wasm */ \ 827 /* Wasm */ \
826 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 828 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
827 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 829 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
828 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ 830 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \
829 1) \ 831 1) \
830 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 832 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
831 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ 833 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \
832 WasmRuntimeCall, 1) \ 834 WasmRuntimeCall, 1) \
833 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 835 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 996
995 friend class Isolate; 997 friend class Isolate;
996 998
997 DISALLOW_COPY_AND_ASSIGN(Builtins); 999 DISALLOW_COPY_AND_ASSIGN(Builtins);
998 }; 1000 };
999 1001
1000 } // namespace internal 1002 } // namespace internal
1001 } // namespace v8 1003 } // namespace v8
1002 1004
1003 #endif // V8_BUILTINS_BUILTINS_H_ 1005 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-typedarray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698