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

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

Issue 2046333002: Revert "Revert of [builtins] Properly optimize TypedArray/DataView accessors. (patchset #3 id:40001… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove TypedArray from global object Created 4 years, 6 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/objects.cc ('k') | src/runtime/runtime-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 903
904 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ 904 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
905 F(ArrayBufferGetByteLength, 1, 1) \ 905 F(ArrayBufferGetByteLength, 1, 1) \
906 F(ArrayBufferSliceImpl, 4, 1) \ 906 F(ArrayBufferSliceImpl, 4, 1) \
907 F(ArrayBufferNeuter, 1, 1) \ 907 F(ArrayBufferNeuter, 1, 1) \
908 F(TypedArrayInitialize, 6, 1) \ 908 F(TypedArrayInitialize, 6, 1) \
909 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 909 F(TypedArrayInitializeFromArrayLike, 4, 1) \
910 F(ArrayBufferViewGetByteLength, 1, 1) \ 910 F(ArrayBufferViewGetByteLength, 1, 1) \
911 F(ArrayBufferViewGetByteOffset, 1, 1) \ 911 F(ArrayBufferViewGetByteOffset, 1, 1) \
912 F(TypedArrayGetLength, 1, 1) \ 912 F(TypedArrayGetLength, 1, 1) \
913 F(DataViewGetBuffer, 1, 1) \
914 F(TypedArrayGetBuffer, 1, 1) \ 913 F(TypedArrayGetBuffer, 1, 1) \
915 F(TypedArraySetFastCases, 3, 1) \ 914 F(TypedArraySetFastCases, 3, 1) \
916 F(TypedArrayMaxSizeInHeap, 0, 1) \ 915 F(TypedArrayMaxSizeInHeap, 0, 1) \
917 F(IsTypedArray, 1, 1) \ 916 F(IsTypedArray, 1, 1) \
918 F(IsSharedTypedArray, 1, 1) \ 917 F(IsSharedTypedArray, 1, 1) \
919 F(IsSharedIntegerTypedArray, 1, 1) \ 918 F(IsSharedIntegerTypedArray, 1, 1) \
920 F(IsSharedInteger32TypedArray, 1, 1) \ 919 F(IsSharedInteger32TypedArray, 1, 1) \
921 F(DataViewGetUint8, 3, 1) \ 920 F(DataViewGetUint8, 3, 1) \
922 F(DataViewGetInt8, 3, 1) \ 921 F(DataViewGetInt8, 3, 1) \
923 F(DataViewGetUint16, 3, 1) \ 922 F(DataViewGetUint16, 3, 1) \
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 1144
1146 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1147 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1148 STATIC_ASSERT(LANGUAGE_END == 3); 1147 STATIC_ASSERT(LANGUAGE_END == 3);
1149 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1150 1149
1151 } // namespace internal 1150 } // namespace internal
1152 } // namespace v8 1151 } // namespace v8
1153 1152
1154 #endif // V8_RUNTIME_RUNTIME_H_ 1153 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-typedarray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698