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

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

Issue 1574903004: TypedArray and ArrayBuffer support for @@species (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Upload tests and make some code more clear Created 4 years, 11 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/messages.h ('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/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 F(HasFixedInt16Elements, 1, 1) \ 964 F(HasFixedInt16Elements, 1, 1) \
965 F(HasFixedUint32Elements, 1, 1) \ 965 F(HasFixedUint32Elements, 1, 1) \
966 F(HasFixedInt32Elements, 1, 1) \ 966 F(HasFixedInt32Elements, 1, 1) \
967 F(HasFixedFloat32Elements, 1, 1) \ 967 F(HasFixedFloat32Elements, 1, 1) \
968 F(HasFixedFloat64Elements, 1, 1) \ 968 F(HasFixedFloat64Elements, 1, 1) \
969 F(HasFixedUint8ClampedElements, 1, 1) 969 F(HasFixedUint8ClampedElements, 1, 1)
970 970
971 971
972 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ 972 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
973 F(ArrayBufferGetByteLength, 1, 1) \ 973 F(ArrayBufferGetByteLength, 1, 1) \
974 F(ArrayBufferSliceImpl, 3, 1) \ 974 F(ArrayBufferSliceImpl, 4, 1) \
975 F(ArrayBufferNeuter, 1, 1) \ 975 F(ArrayBufferNeuter, 1, 1) \
976 F(TypedArrayInitialize, 6, 1) \ 976 F(TypedArrayInitialize, 6, 1) \
977 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 977 F(TypedArrayInitializeFromArrayLike, 4, 1) \
978 F(ArrayBufferViewGetByteLength, 1, 1) \ 978 F(ArrayBufferViewGetByteLength, 1, 1) \
979 F(ArrayBufferViewGetByteOffset, 1, 1) \ 979 F(ArrayBufferViewGetByteOffset, 1, 1) \
980 F(TypedArrayGetLength, 1, 1) \ 980 F(TypedArrayGetLength, 1, 1) \
981 F(DataViewGetBuffer, 1, 1) \ 981 F(DataViewGetBuffer, 1, 1) \
982 F(TypedArrayGetBuffer, 1, 1) \ 982 F(TypedArrayGetBuffer, 1, 1) \
983 F(TypedArraySetFastCases, 3, 1) \ 983 F(TypedArraySetFastCases, 3, 1) \
984 F(TypedArrayMaxSizeInHeap, 0, 1) \ 984 F(TypedArrayMaxSizeInHeap, 0, 1) \
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 1227
1228 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1228 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1229 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1229 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1230 STATIC_ASSERT(LANGUAGE_END == 3); 1230 STATIC_ASSERT(LANGUAGE_END == 3);
1231 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1231 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1232 1232
1233 } // namespace internal 1233 } // namespace internal
1234 } // namespace v8 1234 } // namespace v8
1235 1235
1236 #endif // V8_RUNTIME_RUNTIME_H_ 1236 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/messages.h ('k') | src/runtime/runtime-typedarray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698