| 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 8816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8827 inline bool AsArrayIndex(uint32_t* index); | 8827 inline bool AsArrayIndex(uint32_t* index); |
| 8828 | 8828 |
| 8829 DECLARE_CAST(String) | 8829 DECLARE_CAST(String) |
| 8830 | 8830 |
| 8831 void PrintOn(FILE* out); | 8831 void PrintOn(FILE* out); |
| 8832 | 8832 |
| 8833 // For use during stack traces. Performs rudimentary sanity check. | 8833 // For use during stack traces. Performs rudimentary sanity check. |
| 8834 bool LooksValid(); | 8834 bool LooksValid(); |
| 8835 | 8835 |
| 8836 // Dispatched behavior. | 8836 // Dispatched behavior. |
| 8837 void StringShortPrint(StringStream* accumulator); | 8837 void StringShortPrint(StringStream* accumulator, bool show_details = true); |
| 8838 void PrintUC16(std::ostream& os, int start = 0, int end = -1); // NOLINT | 8838 void PrintUC16(std::ostream& os, int start = 0, int end = -1); // NOLINT |
| 8839 #if defined(DEBUG) || defined(OBJECT_PRINT) | 8839 #if defined(DEBUG) || defined(OBJECT_PRINT) |
| 8840 char* ToAsciiArray(); | 8840 char* ToAsciiArray(); |
| 8841 #endif | 8841 #endif |
| 8842 DECLARE_PRINTER(String) | 8842 DECLARE_PRINTER(String) |
| 8843 DECLARE_VERIFIER(String) | 8843 DECLARE_VERIFIER(String) |
| 8844 | 8844 |
| 8845 inline bool IsFlat(); | 8845 inline bool IsFlat(); |
| 8846 | 8846 |
| 8847 // Layout description. | 8847 // Layout description. |
| (...skipping 1903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10751 } | 10751 } |
| 10752 return value; | 10752 return value; |
| 10753 } | 10753 } |
| 10754 }; | 10754 }; |
| 10755 | 10755 |
| 10756 | 10756 |
| 10757 } // NOLINT, false-positive due to second-order macros. | 10757 } // NOLINT, false-positive due to second-order macros. |
| 10758 } // NOLINT, false-positive due to second-order macros. | 10758 } // NOLINT, false-positive due to second-order macros. |
| 10759 | 10759 |
| 10760 #endif // V8_OBJECTS_H_ | 10760 #endif // V8_OBJECTS_H_ |
| OLD | NEW |