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 2550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2561 Handle<JSObject> object, | 2561 Handle<JSObject> object, |
2562 AllocationSiteCreationContext* site_context); | 2562 AllocationSiteCreationContext* site_context); |
2563 | 2563 |
2564 DECLARE_CAST(JSObject) | 2564 DECLARE_CAST(JSObject) |
2565 | 2565 |
2566 // Dispatched behavior. | 2566 // Dispatched behavior. |
2567 void JSObjectShortPrint(StringStream* accumulator); | 2567 void JSObjectShortPrint(StringStream* accumulator); |
2568 DECLARE_PRINTER(JSObject) | 2568 DECLARE_PRINTER(JSObject) |
2569 DECLARE_VERIFIER(JSObject) | 2569 DECLARE_VERIFIER(JSObject) |
2570 #ifdef OBJECT_PRINT | 2570 #ifdef OBJECT_PRINT |
2571 void PrintProperties(std::ostream& os); // NOLINT | 2571 bool PrintProperties(std::ostream& os); // NOLINT |
2572 void PrintElements(std::ostream& os); // NOLINT | 2572 bool PrintElements(std::ostream& os); // NOLINT |
2573 #endif | 2573 #endif |
2574 #if defined(DEBUG) || defined(OBJECT_PRINT) | 2574 #if defined(DEBUG) || defined(OBJECT_PRINT) |
2575 void PrintTransitions(std::ostream& os); // NOLINT | 2575 void PrintTransitions(std::ostream& os); // NOLINT |
2576 #endif | 2576 #endif |
2577 | 2577 |
2578 static void PrintElementsTransition( | 2578 static void PrintElementsTransition( |
2579 FILE* file, Handle<JSObject> object, | 2579 FILE* file, Handle<JSObject> object, |
2580 ElementsKind from_kind, Handle<FixedArrayBase> from_elements, | 2580 ElementsKind from_kind, Handle<FixedArrayBase> from_elements, |
2581 ElementsKind to_kind, Handle<FixedArrayBase> to_elements); | 2581 ElementsKind to_kind, Handle<FixedArrayBase> to_elements); |
2582 | 2582 |
(...skipping 9119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11702 } | 11702 } |
11703 }; | 11703 }; |
11704 | 11704 |
11705 | 11705 |
11706 } // NOLINT, false-positive due to second-order macros. | 11706 } // NOLINT, false-positive due to second-order macros. |
11707 } // NOLINT, false-positive due to second-order macros. | 11707 } // NOLINT, false-positive due to second-order macros. |
11708 | 11708 |
11709 #include "src/objects/object-macros-undef.h" | 11709 #include "src/objects/object-macros-undef.h" |
11710 | 11710 |
11711 #endif // V8_OBJECTS_H_ | 11711 #endif // V8_OBJECTS_H_ |
OLD | NEW |