| 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/jsregexp.h" | 9 #include "src/jsregexp.h" |
| 10 #include "src/objects-visiting.h" | 10 #include "src/objects-visiting.h" |
| (...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 os << " - initial_map = "; | 781 os << " - initial_map = "; |
| 782 if (has_initial_map()) os << Brief(initial_map()); | 782 if (has_initial_map()) os << Brief(initial_map()); |
| 783 os << "\n - shared_info = " << Brief(shared()); | 783 os << "\n - shared_info = " << Brief(shared()); |
| 784 os << "\n - name = " << Brief(shared()->name()); | 784 os << "\n - name = " << Brief(shared()->name()); |
| 785 os << "\n - context = " << Brief(context()); | 785 os << "\n - context = " << Brief(context()); |
| 786 if (shared()->bound()) { | 786 if (shared()->bound()) { |
| 787 os << "\n - bindings = " << Brief(function_bindings()); | 787 os << "\n - bindings = " << Brief(function_bindings()); |
| 788 } else { | 788 } else { |
| 789 os << "\n - literals = " << Brief(literals()); | 789 os << "\n - literals = " << Brief(literals()); |
| 790 } | 790 } |
| 791 os << "\n - home object = " << Brief(home_object()); |
| 791 os << "\n - code = " << Brief(code()); | 792 os << "\n - code = " << Brief(code()); |
| 792 os << "\n"; | 793 os << "\n"; |
| 793 PrintProperties(os); | 794 PrintProperties(os); |
| 794 PrintElements(os); | 795 PrintElements(os); |
| 795 os << "\n"; | 796 os << "\n"; |
| 796 } | 797 } |
| 797 | 798 |
| 798 | 799 |
| 799 void SharedFunctionInfo::SharedFunctionInfoPrint(OStream& os) { // NOLINT | 800 void SharedFunctionInfo::SharedFunctionInfoPrint(OStream& os) { // NOLINT |
| 800 HeapObject::PrintHeader(os, "SharedFunctionInfo"); | 801 HeapObject::PrintHeader(os, "SharedFunctionInfo"); |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1111 } | 1112 } |
| 1112 } | 1113 } |
| 1113 os << "\n"; | 1114 os << "\n"; |
| 1114 } | 1115 } |
| 1115 | 1116 |
| 1116 | 1117 |
| 1117 #endif // OBJECT_PRINT | 1118 #endif // OBJECT_PRINT |
| 1118 | 1119 |
| 1119 | 1120 |
| 1120 } } // namespace v8::internal | 1121 } } // namespace v8::internal |
| OLD | NEW |