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

Side by Side Diff: src/objects.h

Issue 2623633003: [Atomics] Make Atomics.exchange a builtin using TF (Closed)
Patch Set: remove 0 extend for arm 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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 6877 matching lines...) Expand 10 before | Expand all | Expand 10 after
6888 V(Set.prototype, values, SetValues) \ 6888 V(Set.prototype, values, SetValues) \
6889 V(WeakMap.prototype, delete, WeakMapDelete) \ 6889 V(WeakMap.prototype, delete, WeakMapDelete) \
6890 V(WeakMap.prototype, has, WeakMapHas) \ 6890 V(WeakMap.prototype, has, WeakMapHas) \
6891 V(WeakMap.prototype, set, WeakMapSet) \ 6891 V(WeakMap.prototype, set, WeakMapSet) \
6892 V(WeakSet.prototype, add, WeakSetAdd) \ 6892 V(WeakSet.prototype, add, WeakSetAdd) \
6893 V(WeakSet.prototype, delete, WeakSetDelete) \ 6893 V(WeakSet.prototype, delete, WeakSetDelete) \
6894 V(WeakSet.prototype, has, WeakSetHas) 6894 V(WeakSet.prototype, has, WeakSetHas)
6895 6895
6896 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ 6896 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
6897 V(Atomics, load, AtomicsLoad) \ 6897 V(Atomics, load, AtomicsLoad) \
6898 V(Atomics, store, AtomicsStore) 6898 V(Atomics, store, AtomicsStore) \
6899 V(Atomics, exchange, AtomicsExchange)
6899 6900
6900 enum BuiltinFunctionId { 6901 enum BuiltinFunctionId {
6901 kArrayCode, 6902 kArrayCode,
6902 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ 6903 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \
6903 k##name, 6904 k##name,
6904 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 6905 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
6905 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 6906 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
6906 #undef DECLARE_FUNCTION_ID 6907 #undef DECLARE_FUNCTION_ID
6907 // Fake id for a special case of Math.pow. Note, it continues the 6908 // Fake id for a special case of Math.pow. Note, it continues the
6908 // list of math functions. 6909 // list of math functions.
(...skipping 4672 matching lines...) Expand 10 before | Expand all | Expand 10 after
11581 } 11582 }
11582 }; 11583 };
11583 11584
11584 11585
11585 } // NOLINT, false-positive due to second-order macros. 11586 } // NOLINT, false-positive due to second-order macros.
11586 } // NOLINT, false-positive due to second-order macros. 11587 } // NOLINT, false-positive due to second-order macros.
11587 11588
11588 #include "src/objects/object-macros-undef.h" 11589 #include "src/objects/object-macros-undef.h"
11589 11590
11590 #endif // V8_OBJECTS_H_ 11591 #endif // V8_OBJECTS_H_
OLDNEW
« src/compiler/arm64/code-generator-arm64.cc ('K') | « src/js/harmony-atomics.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698