Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 6883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6894 V(Math, sin, MathSin) \ | 6894 V(Math, sin, MathSin) \ |
| 6895 V(Math, tan, MathTan) \ | 6895 V(Math, tan, MathTan) \ |
| 6896 V(Math, acos, MathAcos) \ | 6896 V(Math, acos, MathAcos) \ |
| 6897 V(Math, asin, MathAsin) \ | 6897 V(Math, asin, MathAsin) \ |
| 6898 V(Math, atan, MathAtan) \ | 6898 V(Math, atan, MathAtan) \ |
| 6899 V(Math, atan2, MathAtan2) \ | 6899 V(Math, atan2, MathAtan2) \ |
| 6900 V(Math, imul, MathImul) \ | 6900 V(Math, imul, MathImul) \ |
| 6901 V(Math, clz32, MathClz32) \ | 6901 V(Math, clz32, MathClz32) \ |
| 6902 V(Math, fround, MathFround) | 6902 V(Math, fround, MathFround) |
| 6903 | 6903 |
| 6904 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ | |
| 6905 V(Atomics, load, AtomicsLoad) \ | |
| 6906 V(Atomics, store, AtomicsStore) | |
| 6907 | |
| 6904 enum BuiltinFunctionId { | 6908 enum BuiltinFunctionId { |
| 6905 kArrayCode, | 6909 kArrayCode, |
| 6906 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 6910 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
| 6907 k##name, | 6911 k##name, |
| 6908 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6912 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
| 6913 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | |
|
Jarin
2015/06/01 17:50:10
Funny indentation.
binji
2015/06/02 21:32:55
Agreed. This is what git cl format does, I think b
Jarin
2015/06/03 13:30:14
I think this is because git cl format only format
| |
| 6909 #undef DECLARE_FUNCTION_ID | 6914 #undef DECLARE_FUNCTION_ID |
| 6910 // Fake id for a special case of Math.pow. Note, it continues the | 6915 // Fake id for a special case of Math.pow. Note, it continues the |
| 6911 // list of math functions. | 6916 // list of math functions. |
| 6912 kMathPowHalf | 6917 kMathPowHalf |
| 6913 }; | 6918 }; |
| 6914 | 6919 |
| 6915 | 6920 |
| 6916 // SharedFunctionInfo describes the JSFunction information that can be | 6921 // SharedFunctionInfo describes the JSFunction information that can be |
| 6917 // shared by multiple instances of the function. | 6922 // shared by multiple instances of the function. |
| 6918 class SharedFunctionInfo: public HeapObject { | 6923 class SharedFunctionInfo: public HeapObject { |
| (...skipping 4258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11177 } else { | 11182 } else { |
| 11178 value &= ~(1 << bit_position); | 11183 value &= ~(1 << bit_position); |
| 11179 } | 11184 } |
| 11180 return value; | 11185 return value; |
| 11181 } | 11186 } |
| 11182 }; | 11187 }; |
| 11183 | 11188 |
| 11184 } } // namespace v8::internal | 11189 } } // namespace v8::internal |
| 11185 | 11190 |
| 11186 #endif // V8_OBJECTS_H_ | 11191 #endif // V8_OBJECTS_H_ |
| OLD | NEW |