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

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

Issue 2744283002: [typedarrays] Implement %TypedArray%.prototype.lastIndexOf in C++ (Closed)
Patch Set: Correct integral value check 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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 /* ES6 #sec-%typedarray%.prototype.keys */ \ 820 /* ES6 #sec-%typedarray%.prototype.keys */ \
821 TFJ(TypedArrayPrototypeKeys, 0) \ 821 TFJ(TypedArrayPrototypeKeys, 0) \
822 /* ES6 #sec-%typedarray%.prototype.values */ \ 822 /* ES6 #sec-%typedarray%.prototype.values */ \
823 TFJ(TypedArrayPrototypeValues, 0) \ 823 TFJ(TypedArrayPrototypeValues, 0) \
824 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ 824 /* ES6 #sec-%typedarray%.prototype.copywithin */ \
825 CPP(TypedArrayPrototypeCopyWithin) \ 825 CPP(TypedArrayPrototypeCopyWithin) \
826 /* ES7 #sec-%typedarray%.prototype.includes */ \ 826 /* ES7 #sec-%typedarray%.prototype.includes */ \
827 CPP(TypedArrayPrototypeIncludes) \ 827 CPP(TypedArrayPrototypeIncludes) \
828 /* ES6 #sec-%typedarray%.prototype.indexof */ \ 828 /* ES6 #sec-%typedarray%.prototype.indexof */ \
829 CPP(TypedArrayPrototypeIndexOf) \ 829 CPP(TypedArrayPrototypeIndexOf) \
830 /* ES6 #sec-%typedarray%.prototype.indexof */ \
831 CPP(TypedArrayPrototypeLastIndexOf) \
830 \ 832 \
831 /* Wasm */ \ 833 /* Wasm */ \
832 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 834 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
833 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 835 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
834 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ 836 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \
835 1) \ 837 1) \
836 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 838 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
837 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ 839 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \
838 WasmRuntimeCall, 1) \ 840 WasmRuntimeCall, 1) \
839 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 841 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 1004
1003 friend class Isolate; 1005 friend class Isolate;
1004 1006
1005 DISALLOW_COPY_AND_ASSIGN(Builtins); 1007 DISALLOW_COPY_AND_ASSIGN(Builtins);
1006 }; 1008 };
1007 1009
1008 } // namespace internal 1010 } // namespace internal
1009 } // namespace v8 1011 } // namespace v8
1010 1012
1011 #endif // V8_BUILTINS_BUILTINS_H_ 1013 #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