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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 os << "\n - column_offset: " << Brief(column_offset()); | 976 os << "\n - column_offset: " << Brief(column_offset()); |
977 os << "\n - type: " << Brief(type()); | 977 os << "\n - type: " << Brief(type()); |
978 os << "\n - id: " << Brief(id()); | 978 os << "\n - id: " << Brief(id()); |
979 os << "\n - context data: " << Brief(context_data()); | 979 os << "\n - context data: " << Brief(context_data()); |
980 os << "\n - wrapper: " << Brief(wrapper()); | 980 os << "\n - wrapper: " << Brief(wrapper()); |
981 os << "\n - compilation type: " << compilation_type(); | 981 os << "\n - compilation type: " << compilation_type(); |
982 os << "\n - line ends: " << Brief(line_ends()); | 982 os << "\n - line ends: " << Brief(line_ends()); |
983 os << "\n - eval from shared: " << Brief(eval_from_shared()); | 983 os << "\n - eval from shared: " << Brief(eval_from_shared()); |
984 os << "\n - eval from instructions offset: " | 984 os << "\n - eval from instructions offset: " |
985 << Brief(eval_from_instructions_offset()); | 985 << Brief(eval_from_instructions_offset()); |
986 os << "\n - shared function infos: " << Brief(shared_function_infos()); | |
987 os << "\n"; | 986 os << "\n"; |
988 } | 987 } |
989 | 988 |
990 | 989 |
991 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT | 990 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT |
992 HeapObject::PrintHeader(os, "DebugInfo"); | 991 HeapObject::PrintHeader(os, "DebugInfo"); |
993 os << "\n - shared: " << Brief(shared()); | 992 os << "\n - shared: " << Brief(shared()); |
994 os << "\n - original_code: " << Brief(original_code()); | 993 os << "\n - original_code: " << Brief(original_code()); |
995 os << "\n - code: " << Brief(code()); | 994 os << "\n - code: " << Brief(code()); |
996 os << "\n - break_points: "; | 995 os << "\n - break_points: "; |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1172 } | 1171 } |
1173 } | 1172 } |
1174 | 1173 |
1175 | 1174 |
1176 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1175 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
1177 TransitionArray::PrintTransitions(os, map()->raw_transitions()); | 1176 TransitionArray::PrintTransitions(os, map()->raw_transitions()); |
1178 } | 1177 } |
1179 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1178 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
1180 } // namespace internal | 1179 } // namespace internal |
1181 } // namespace v8 | 1180 } // namespace v8 |
OLD | NEW |