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

Side by Side Diff: src/objects.h

Issue 1124813005: WIP Atomics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix AtomicsLoad type in typer.cc Created 5 years, 7 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.h » ('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_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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 6834 matching lines...) Expand 10 before | Expand all | Expand 10 after
6845 V(Math, sin, MathSin) \ 6845 V(Math, sin, MathSin) \
6846 V(Math, tan, MathTan) \ 6846 V(Math, tan, MathTan) \
6847 V(Math, acos, MathAcos) \ 6847 V(Math, acos, MathAcos) \
6848 V(Math, asin, MathAsin) \ 6848 V(Math, asin, MathAsin) \
6849 V(Math, atan, MathAtan) \ 6849 V(Math, atan, MathAtan) \
6850 V(Math, atan2, MathAtan2) \ 6850 V(Math, atan2, MathAtan2) \
6851 V(Math, imul, MathImul) \ 6851 V(Math, imul, MathImul) \
6852 V(Math, clz32, MathClz32) \ 6852 V(Math, clz32, MathClz32) \
6853 V(Math, fround, MathFround) 6853 V(Math, fround, MathFround)
6854 6854
6855 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) V(Atomics, load, AtomicsLoad)
6856
6855 enum BuiltinFunctionId { 6857 enum BuiltinFunctionId {
6856 kArrayCode, 6858 kArrayCode,
6857 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ 6859 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \
6858 k##name, 6860 k##name,
6859 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 6861 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
6862 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
6860 #undef DECLARE_FUNCTION_ID 6863 #undef DECLARE_FUNCTION_ID
6861 // Fake id for a special case of Math.pow. Note, it continues the 6864 // Fake id for a special case of Math.pow. Note, it continues the
6862 // list of math functions. 6865 // list of math functions.
6863 kMathPowHalf 6866 kMathPowHalf
6864 }; 6867 };
6865 6868
6866 6869
6867 // SharedFunctionInfo describes the JSFunction information that can be 6870 // SharedFunctionInfo describes the JSFunction information that can be
6868 // shared by multiple instances of the function. 6871 // shared by multiple instances of the function.
6869 class SharedFunctionInfo: public HeapObject { 6872 class SharedFunctionInfo: public HeapObject {
(...skipping 4253 matching lines...) Expand 10 before | Expand all | Expand 10 after
11123 } else { 11126 } else {
11124 value &= ~(1 << bit_position); 11127 value &= ~(1 << bit_position);
11125 } 11128 }
11126 return value; 11129 return value;
11127 } 11130 }
11128 }; 11131 };
11129 11132
11130 } } // namespace v8::internal 11133 } } // namespace v8::internal
11131 11134
11132 #endif // V8_OBJECTS_H_ 11135 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/messages.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698