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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/disasm.h" | 7 #include "src/disasm.h" |
8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
9 #include "src/heap/objects-visiting.h" | 9 #include "src/heap/objects-visiting.h" |
10 #include "src/jsregexp.h" | 10 #include "src/jsregexp.h" |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; | 744 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; |
745 os << " - backing_store = " << backing_store() << "\n"; | 745 os << " - backing_store = " << backing_store() << "\n"; |
746 os << " - byte_length = " << Brief(byte_length()); | 746 os << " - byte_length = " << Brief(byte_length()); |
747 os << "\n"; | 747 os << "\n"; |
748 } | 748 } |
749 | 749 |
750 | 750 |
751 void JSTypedArray::JSTypedArrayPrint(OStream& os) { // NOLINT | 751 void JSTypedArray::JSTypedArrayPrint(OStream& os) { // NOLINT |
752 HeapObject::PrintHeader(os, "JSTypedArray"); | 752 HeapObject::PrintHeader(os, "JSTypedArray"); |
753 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; | 753 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; |
754 os << " - buffer =" << Brief(buffer()); | 754 os << " - buffer = " << Brief(buffer()); |
755 os << "\n - byte_offset = " << Brief(byte_offset()); | 755 os << "\n - byte_offset = " << Brief(byte_offset()); |
756 os << "\n - byte_length = " << Brief(byte_length()); | 756 os << "\n - byte_length = " << Brief(byte_length()); |
757 os << "\n - length = " << Brief(length()); | 757 os << "\n - length = " << Brief(length()); |
758 os << "\n"; | 758 os << "\n"; |
759 PrintElements(os); | 759 PrintElements(os); |
760 } | 760 } |
761 | 761 |
762 | 762 |
763 void JSDataView::JSDataViewPrint(OStream& os) { // NOLINT | 763 void JSDataView::JSDataViewPrint(OStream& os) { // NOLINT |
764 HeapObject::PrintHeader(os, "JSDataView"); | 764 HeapObject::PrintHeader(os, "JSDataView"); |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1103 } | 1103 } |
1104 } | 1104 } |
1105 os << "\n"; | 1105 os << "\n"; |
1106 } | 1106 } |
1107 | 1107 |
1108 | 1108 |
1109 #endif // OBJECT_PRINT | 1109 #endif // OBJECT_PRINT |
1110 | 1110 |
1111 | 1111 |
1112 } } // namespace v8::internal | 1112 } } // namespace v8::internal |
OLD | NEW |