| 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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 void JSValue::JSValuePrint(OStream& os) { // NOLINT | 556 void JSValue::JSValuePrint(OStream& os) { // NOLINT |
| 557 HeapObject::PrintHeader(os, "ValueObject"); | 557 HeapObject::PrintHeader(os, "ValueObject"); |
| 558 value()->Print(os); | 558 value()->Print(os); |
| 559 } | 559 } |
| 560 | 560 |
| 561 | 561 |
| 562 void JSMessageObject::JSMessageObjectPrint(OStream& os) { // NOLINT | 562 void JSMessageObject::JSMessageObjectPrint(OStream& os) { // NOLINT |
| 563 HeapObject::PrintHeader(os, "JSMessageObject"); | 563 HeapObject::PrintHeader(os, "JSMessageObject"); |
| 564 os << " - type: " << Brief(type()); | 564 os << " - type: " << Brief(type()); |
| 565 os << "\n - arguments: " << Brief(arguments()); | 565 os << "\n - arguments: " << Brief(arguments()); |
| 566 os << "\n - promise: " << Brief(promise()); |
| 566 os << "\n - start_position: " << start_position(); | 567 os << "\n - start_position: " << start_position(); |
| 567 os << "\n - end_position: " << end_position(); | 568 os << "\n - end_position: " << end_position(); |
| 568 os << "\n - script: " << Brief(script()); | 569 os << "\n - script: " << Brief(script()); |
| 569 os << "\n - stack_frames: " << Brief(stack_frames()); | 570 os << "\n - stack_frames: " << Brief(stack_frames()); |
| 570 os << "\n"; | 571 os << "\n"; |
| 571 } | 572 } |
| 572 | 573 |
| 573 | 574 |
| 574 void String::StringPrint(OStream& os) { // NOLINT | 575 void String::StringPrint(OStream& os) { // NOLINT |
| 575 if (StringShape(this).IsInternalized()) { | 576 if (StringShape(this).IsInternalized()) { |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 } | 1104 } |
| 1104 } | 1105 } |
| 1105 os << "\n"; | 1106 os << "\n"; |
| 1106 } | 1107 } |
| 1107 | 1108 |
| 1108 | 1109 |
| 1109 #endif // OBJECT_PRINT | 1110 #endif // OBJECT_PRINT |
| 1110 | 1111 |
| 1111 | 1112 |
| 1112 } } // namespace v8::internal | 1113 } } // namespace v8::internal |
| OLD | NEW |