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

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

Issue 2143443002: [Atomics] Rename Atomics.futex*, remove Atomics.futexWakeOrRequeue (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merge master Created 4 years, 5 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/js/harmony-atomics.js ('k') | src/runtime/runtime-atomics.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 F(ThrowNotIntegerSharedTypedArrayError, 1, 1) \ 57 F(ThrowNotIntegerSharedTypedArrayError, 1, 1) \
58 F(ThrowNotInt32SharedTypedArrayError, 1, 1) \ 58 F(ThrowNotInt32SharedTypedArrayError, 1, 1) \
59 F(ThrowInvalidAtomicAccessIndexError, 0, 1) \ 59 F(ThrowInvalidAtomicAccessIndexError, 0, 1) \
60 F(AtomicsCompareExchange, 4, 1) \ 60 F(AtomicsCompareExchange, 4, 1) \
61 F(AtomicsAdd, 3, 1) \ 61 F(AtomicsAdd, 3, 1) \
62 F(AtomicsSub, 3, 1) \ 62 F(AtomicsSub, 3, 1) \
63 F(AtomicsAnd, 3, 1) \ 63 F(AtomicsAnd, 3, 1) \
64 F(AtomicsOr, 3, 1) \ 64 F(AtomicsOr, 3, 1) \
65 F(AtomicsXor, 3, 1) \ 65 F(AtomicsXor, 3, 1) \
66 F(AtomicsExchange, 3, 1) \ 66 F(AtomicsExchange, 3, 1) \
67 F(AtomicsIsLockFree, 1, 1) 67 F(AtomicsIsLockFree, 1, 1) \
68 68 F(AtomicsWait, 4, 1) \
69 #define FOR_EACH_INTRINSIC_FUTEX(F) \ 69 F(AtomicsWake, 3, 1) \
70 F(AtomicsFutexWait, 4, 1) \ 70 F(AtomicsNumWaitersForTesting, 2, 1)
71 F(AtomicsFutexWake, 3, 1) \
72 F(AtomicsFutexWakeOrRequeue, 5, 1) \
73 F(AtomicsFutexNumWaitersForTesting, 2, 1)
74 71
75 #define FOR_EACH_INTRINSIC_CLASSES(F) \ 72 #define FOR_EACH_INTRINSIC_CLASSES(F) \
76 F(ThrowNonMethodError, 0, 1) \ 73 F(ThrowNonMethodError, 0, 1) \
77 F(ThrowUnsupportedSuperError, 0, 1) \ 74 F(ThrowUnsupportedSuperError, 0, 1) \
78 F(ThrowConstructorNonCallableError, 1, 1) \ 75 F(ThrowConstructorNonCallableError, 1, 1) \
79 F(ThrowArrayNotSubclassableError, 0, 1) \ 76 F(ThrowArrayNotSubclassableError, 0, 1) \
80 F(ThrowStaticPrototypeError, 0, 1) \ 77 F(ThrowStaticPrototypeError, 0, 1) \
81 F(ThrowIfStaticPrototype, 1, 1) \ 78 F(ThrowIfStaticPrototype, 1, 1) \
82 F(HomeObjectSymbol, 0, 1) \ 79 F(HomeObjectSymbol, 0, 1) \
83 F(DefineClass, 4, 1) \ 80 F(DefineClass, 4, 1) \
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 FOR_EACH_INTRINSIC_ARRAY(F) \ 957 FOR_EACH_INTRINSIC_ARRAY(F) \
961 FOR_EACH_INTRINSIC_ATOMICS(F) \ 958 FOR_EACH_INTRINSIC_ATOMICS(F) \
962 FOR_EACH_INTRINSIC_CLASSES(F) \ 959 FOR_EACH_INTRINSIC_CLASSES(F) \
963 FOR_EACH_INTRINSIC_COLLECTIONS(F) \ 960 FOR_EACH_INTRINSIC_COLLECTIONS(F) \
964 FOR_EACH_INTRINSIC_COMPILER(F) \ 961 FOR_EACH_INTRINSIC_COMPILER(F) \
965 FOR_EACH_INTRINSIC_DATE(F) \ 962 FOR_EACH_INTRINSIC_DATE(F) \
966 FOR_EACH_INTRINSIC_DEBUG(F) \ 963 FOR_EACH_INTRINSIC_DEBUG(F) \
967 FOR_EACH_INTRINSIC_FORIN(F) \ 964 FOR_EACH_INTRINSIC_FORIN(F) \
968 FOR_EACH_INTRINSIC_INTERPRETER(F) \ 965 FOR_EACH_INTRINSIC_INTERPRETER(F) \
969 FOR_EACH_INTRINSIC_FUNCTION(F) \ 966 FOR_EACH_INTRINSIC_FUNCTION(F) \
970 FOR_EACH_INTRINSIC_FUTEX(F) \
971 FOR_EACH_INTRINSIC_GENERATOR(F) \ 967 FOR_EACH_INTRINSIC_GENERATOR(F) \
972 FOR_EACH_INTRINSIC_I18N(F) \ 968 FOR_EACH_INTRINSIC_I18N(F) \
973 FOR_EACH_INTRINSIC_INTERNAL(F) \ 969 FOR_EACH_INTRINSIC_INTERNAL(F) \
974 FOR_EACH_INTRINSIC_LITERALS(F) \ 970 FOR_EACH_INTRINSIC_LITERALS(F) \
975 FOR_EACH_INTRINSIC_LIVEEDIT(F) \ 971 FOR_EACH_INTRINSIC_LIVEEDIT(F) \
976 FOR_EACH_INTRINSIC_MATHS(F) \ 972 FOR_EACH_INTRINSIC_MATHS(F) \
977 FOR_EACH_INTRINSIC_NUMBERS(F) \ 973 FOR_EACH_INTRINSIC_NUMBERS(F) \
978 FOR_EACH_INTRINSIC_OBJECT(F) \ 974 FOR_EACH_INTRINSIC_OBJECT(F) \
979 FOR_EACH_INTRINSIC_OPERATORS(F) \ 975 FOR_EACH_INTRINSIC_OPERATORS(F) \
980 FOR_EACH_INTRINSIC_PROXY(F) \ 976 FOR_EACH_INTRINSIC_PROXY(F) \
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 1130
1135 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1136 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1137 STATIC_ASSERT(LANGUAGE_END == 3); 1133 STATIC_ASSERT(LANGUAGE_END == 3);
1138 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1139 1135
1140 } // namespace internal 1136 } // namespace internal
1141 } // namespace v8 1137 } // namespace v8
1142 1138
1143 #endif // V8_RUNTIME_RUNTIME_H_ 1139 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/harmony-atomics.js ('k') | src/runtime/runtime-atomics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698