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

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

Issue 2733193002: [typedarrays] Move %TypedArray%.prototype.indexOf to C++ (Closed)
Patch Set: Add comments 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 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 /* ES6 #sec-%typedarray%.prototype.entries */ \ 818 /* ES6 #sec-%typedarray%.prototype.entries */ \
819 TFJ(TypedArrayPrototypeEntries, 0) \ 819 TFJ(TypedArrayPrototypeEntries, 0) \
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 */ \
829 CPP(TypedArrayPrototypeIndexOf) \
828 \ 830 \
829 /* Wasm */ \ 831 /* Wasm */ \
830 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 832 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
831 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 833 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
832 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ 834 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \
833 1) \ 835 1) \
834 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 836 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
835 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ 837 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \
836 WasmRuntimeCall, 1) \ 838 WasmRuntimeCall, 1) \
837 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ 839 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 997
996 friend class Isolate; 998 friend class Isolate;
997 999
998 DISALLOW_COPY_AND_ASSIGN(Builtins); 1000 DISALLOW_COPY_AND_ASSIGN(Builtins);
999 }; 1001 };
1000 1002
1001 } // namespace internal 1003 } // namespace internal
1002 } // namespace v8 1004 } // namespace v8
1003 1005
1004 #endif // V8_BUILTINS_BUILTINS_H_ 1006 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698