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 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 7820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7831 inline bool IsThin(); | 7831 inline bool IsThin(); |
7832 inline bool IsIndirect(); | 7832 inline bool IsIndirect(); |
7833 inline bool IsExternalOneByte(); | 7833 inline bool IsExternalOneByte(); |
7834 inline bool IsExternalTwoByte(); | 7834 inline bool IsExternalTwoByte(); |
7835 inline bool IsSequentialOneByte(); | 7835 inline bool IsSequentialOneByte(); |
7836 inline bool IsSequentialTwoByte(); | 7836 inline bool IsSequentialTwoByte(); |
7837 inline bool IsInternalized(); | 7837 inline bool IsInternalized(); |
7838 inline StringRepresentationTag representation_tag(); | 7838 inline StringRepresentationTag representation_tag(); |
7839 inline uint32_t encoding_tag(); | 7839 inline uint32_t encoding_tag(); |
7840 inline uint32_t full_representation_tag(); | 7840 inline uint32_t full_representation_tag(); |
7841 inline uint32_t size_tag(); | 7841 inline bool HasOnlyOneByteChars(); |
7842 #ifdef DEBUG | 7842 #ifdef DEBUG |
7843 inline uint32_t type() { return type_; } | 7843 inline uint32_t type() { return type_; } |
7844 inline void invalidate() { valid_ = false; } | 7844 inline void invalidate() { valid_ = false; } |
7845 inline bool valid() { return valid_; } | 7845 inline bool valid() { return valid_; } |
7846 #else | 7846 #else |
7847 inline void invalidate() { } | 7847 inline void invalidate() { } |
7848 #endif | 7848 #endif |
7849 | 7849 |
7850 private: | 7850 private: |
7851 uint32_t type_; | 7851 uint32_t type_; |
(...skipping 2437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10289 } | 10289 } |
10290 }; | 10290 }; |
10291 | 10291 |
10292 | 10292 |
10293 } // NOLINT, false-positive due to second-order macros. | 10293 } // NOLINT, false-positive due to second-order macros. |
10294 } // NOLINT, false-positive due to second-order macros. | 10294 } // NOLINT, false-positive due to second-order macros. |
10295 | 10295 |
10296 #include "src/objects/object-macros-undef.h" | 10296 #include "src/objects/object-macros-undef.h" |
10297 | 10297 |
10298 #endif // V8_OBJECTS_H_ | 10298 #endif // V8_OBJECTS_H_ |
OLD | NEW |