OLD | NEW |
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 | 9 |
10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
(...skipping 6756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6767 kArrayCode, | 6767 kArrayCode, |
6768 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ | 6768 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
6769 k##name, | 6769 k##name, |
6770 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6770 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
6771 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) | 6771 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
6772 #undef DECLARE_FUNCTION_ID | 6772 #undef DECLARE_FUNCTION_ID |
6773 // Fake id for a special case of Math.pow. Note, it continues the | 6773 // Fake id for a special case of Math.pow. Note, it continues the |
6774 // list of math functions. | 6774 // list of math functions. |
6775 kMathPowHalf, | 6775 kMathPowHalf, |
6776 // These are manually assigned to special getters during bootstrapping. | 6776 // These are manually assigned to special getters during bootstrapping. |
| 6777 kArrayBufferByteLength, |
6777 kDataViewBuffer, | 6778 kDataViewBuffer, |
6778 kDataViewByteLength, | 6779 kDataViewByteLength, |
6779 kDataViewByteOffset, | 6780 kDataViewByteOffset, |
6780 kTypedArrayByteLength, | 6781 kTypedArrayByteLength, |
6781 kTypedArrayByteOffset, | 6782 kTypedArrayByteOffset, |
6782 kTypedArrayLength, | 6783 kTypedArrayLength, |
6783 }; | 6784 }; |
6784 | 6785 |
6785 | 6786 |
6786 // Result of searching in an optimized code map of a SharedFunctionInfo. Note | 6787 // Result of searching in an optimized code map of a SharedFunctionInfo. Note |
(...skipping 4182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10969 } | 10970 } |
10970 return value; | 10971 return value; |
10971 } | 10972 } |
10972 }; | 10973 }; |
10973 | 10974 |
10974 | 10975 |
10975 } // NOLINT, false-positive due to second-order macros. | 10976 } // NOLINT, false-positive due to second-order macros. |
10976 } // NOLINT, false-positive due to second-order macros. | 10977 } // NOLINT, false-positive due to second-order macros. |
10977 | 10978 |
10978 #endif // V8_OBJECTS_H_ | 10979 #endif // V8_OBJECTS_H_ |
OLD | NEW |