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

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

Issue 1500543002: [es6] Unify ArrayBuffer and SharedArrayBuffer constructors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 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 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 F(HasFixedUint16Elements, 1, 1) \ 981 F(HasFixedUint16Elements, 1, 1) \
982 F(HasFixedInt16Elements, 1, 1) \ 982 F(HasFixedInt16Elements, 1, 1) \
983 F(HasFixedUint32Elements, 1, 1) \ 983 F(HasFixedUint32Elements, 1, 1) \
984 F(HasFixedInt32Elements, 1, 1) \ 984 F(HasFixedInt32Elements, 1, 1) \
985 F(HasFixedFloat32Elements, 1, 1) \ 985 F(HasFixedFloat32Elements, 1, 1) \
986 F(HasFixedFloat64Elements, 1, 1) \ 986 F(HasFixedFloat64Elements, 1, 1) \
987 F(HasFixedUint8ClampedElements, 1, 1) 987 F(HasFixedUint8ClampedElements, 1, 1)
988 988
989 989
990 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ 990 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
991 F(ArrayBufferInitialize, 3, 1) \
992 F(ArrayBufferGetByteLength, 1, 1) \ 991 F(ArrayBufferGetByteLength, 1, 1) \
993 F(ArrayBufferSliceImpl, 3, 1) \ 992 F(ArrayBufferSliceImpl, 3, 1) \
994 F(ArrayBufferIsView, 1, 1) \
995 F(ArrayBufferNeuter, 1, 1) \ 993 F(ArrayBufferNeuter, 1, 1) \
996 F(TypedArrayInitialize, 6, 1) \ 994 F(TypedArrayInitialize, 6, 1) \
997 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 995 F(TypedArrayInitializeFromArrayLike, 4, 1) \
998 F(ArrayBufferViewGetByteLength, 1, 1) \ 996 F(ArrayBufferViewGetByteLength, 1, 1) \
999 F(ArrayBufferViewGetByteOffset, 1, 1) \ 997 F(ArrayBufferViewGetByteOffset, 1, 1) \
1000 F(TypedArrayGetLength, 1, 1) \ 998 F(TypedArrayGetLength, 1, 1) \
1001 F(DataViewGetBuffer, 1, 1) \ 999 F(DataViewGetBuffer, 1, 1) \
1002 F(TypedArrayGetBuffer, 1, 1) \ 1000 F(TypedArrayGetBuffer, 1, 1) \
1003 F(TypedArraySetFastCases, 3, 1) \ 1001 F(TypedArraySetFastCases, 3, 1) \
1004 F(TypedArrayMaxSizeInHeap, 0, 1) \ 1002 F(TypedArrayMaxSizeInHeap, 0, 1) \
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 1254
1257 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1255 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1258 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1256 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1259 STATIC_ASSERT(LANGUAGE_END == 3); 1257 STATIC_ASSERT(LANGUAGE_END == 3);
1260 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1258 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1261 1259
1262 } // namespace internal 1260 } // namespace internal
1263 } // namespace v8 1261 } // namespace v8
1264 1262
1265 #endif // V8_RUNTIME_RUNTIME_H_ 1263 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698