| 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 7800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7811 inline bool IsThin(); | 7811 inline bool IsThin(); |
| 7812 inline bool IsIndirect(); | 7812 inline bool IsIndirect(); |
| 7813 inline bool IsExternalOneByte(); | 7813 inline bool IsExternalOneByte(); |
| 7814 inline bool IsExternalTwoByte(); | 7814 inline bool IsExternalTwoByte(); |
| 7815 inline bool IsSequentialOneByte(); | 7815 inline bool IsSequentialOneByte(); |
| 7816 inline bool IsSequentialTwoByte(); | 7816 inline bool IsSequentialTwoByte(); |
| 7817 inline bool IsInternalized(); | 7817 inline bool IsInternalized(); |
| 7818 inline StringRepresentationTag representation_tag(); | 7818 inline StringRepresentationTag representation_tag(); |
| 7819 inline uint32_t encoding_tag(); | 7819 inline uint32_t encoding_tag(); |
| 7820 inline uint32_t full_representation_tag(); | 7820 inline uint32_t full_representation_tag(); |
| 7821 inline uint32_t size_tag(); | 7821 inline bool HasOnlyOneByteChars(); |
| 7822 #ifdef DEBUG | 7822 #ifdef DEBUG |
| 7823 inline uint32_t type() { return type_; } | 7823 inline uint32_t type() { return type_; } |
| 7824 inline void invalidate() { valid_ = false; } | 7824 inline void invalidate() { valid_ = false; } |
| 7825 inline bool valid() { return valid_; } | 7825 inline bool valid() { return valid_; } |
| 7826 #else | 7826 #else |
| 7827 inline void invalidate() { } | 7827 inline void invalidate() { } |
| 7828 #endif | 7828 #endif |
| 7829 | 7829 |
| 7830 private: | 7830 private: |
| 7831 uint32_t type_; | 7831 uint32_t type_; |
| (...skipping 2417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10249 } | 10249 } |
| 10250 }; | 10250 }; |
| 10251 | 10251 |
| 10252 | 10252 |
| 10253 } // NOLINT, false-positive due to second-order macros. | 10253 } // NOLINT, false-positive due to second-order macros. |
| 10254 } // NOLINT, false-positive due to second-order macros. | 10254 } // NOLINT, false-positive due to second-order macros. |
| 10255 | 10255 |
| 10256 #include "src/objects/object-macros-undef.h" | 10256 #include "src/objects/object-macros-undef.h" |
| 10257 | 10257 |
| 10258 #endif // V8_OBJECTS_H_ | 10258 #endif // V8_OBJECTS_H_ |
| OLD | NEW |