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 8667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8678 // Conversion. | 8678 // Conversion. |
| 8679 inline bool AsArrayIndex(uint32_t* index); | 8679 inline bool AsArrayIndex(uint32_t* index); |
| 8680 | 8680 |
| 8681 DECLARE_CAST(String) | 8681 DECLARE_CAST(String) |
| 8682 | 8682 |
| 8683 void PrintOn(FILE* out); | 8683 void PrintOn(FILE* out); |
| 8684 | 8684 |
| 8685 // For use during stack traces. Performs rudimentary sanity check. | 8685 // For use during stack traces. Performs rudimentary sanity check. |
| 8686 bool LooksValid(); | 8686 bool LooksValid(); |
| 8687 | 8687 |
| 8688 // Used for flags such as --hydrogen-filter. | |
| 8689 bool PassesFilter(const char* raw_filter); | |
|
Michael Starzinger
2015/10/07 09:53:29
As discussed offline: Can we add a TODO here that
rmcilroy
2015/10/07 10:05:37
Added TODO.
| |
| 8690 | |
| 8688 // Dispatched behavior. | 8691 // Dispatched behavior. |
| 8689 void StringShortPrint(StringStream* accumulator); | 8692 void StringShortPrint(StringStream* accumulator); |
| 8690 void PrintUC16(std::ostream& os, int start = 0, int end = -1); // NOLINT | 8693 void PrintUC16(std::ostream& os, int start = 0, int end = -1); // NOLINT |
| 8691 #if defined(DEBUG) || defined(OBJECT_PRINT) | 8694 #if defined(DEBUG) || defined(OBJECT_PRINT) |
| 8692 char* ToAsciiArray(); | 8695 char* ToAsciiArray(); |
| 8693 #endif | 8696 #endif |
| 8694 DECLARE_PRINTER(String) | 8697 DECLARE_PRINTER(String) |
| 8695 DECLARE_VERIFIER(String) | 8698 DECLARE_VERIFIER(String) |
| 8696 | 8699 |
| 8697 inline bool IsFlat(); | 8700 inline bool IsFlat(); |
| (...skipping 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 10662 Handle<FixedArray> keys_; | 10665 Handle<FixedArray> keys_; |
| 10663 Handle<OrderedHashSet> set_; | 10666 Handle<OrderedHashSet> set_; |
| 10664 int length_; | 10667 int length_; |
| 10665 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10668 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
| 10666 }; | 10669 }; |
| 10667 | 10670 |
| 10668 } // NOLINT, false-positive due to second-order macros. | 10671 } // NOLINT, false-positive due to second-order macros. |
| 10669 } // NOLINT, false-positive due to second-order macros. | 10672 } // NOLINT, false-positive due to second-order macros. |
| 10670 | 10673 |
| 10671 #endif // V8_OBJECTS_H_ | 10674 #endif // V8_OBJECTS_H_ |
| OLD | NEW |