| 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 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 os << "\n - eval from instructions offset: " | 981 os << "\n - eval from instructions offset: " |
| 982 << Brief(eval_from_instructions_offset()); | 982 << Brief(eval_from_instructions_offset()); |
| 983 os << "\n - shared function infos: " << Brief(shared_function_infos()); | 983 os << "\n - shared function infos: " << Brief(shared_function_infos()); |
| 984 os << "\n"; | 984 os << "\n"; |
| 985 } | 985 } |
| 986 | 986 |
| 987 | 987 |
| 988 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT | 988 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT |
| 989 HeapObject::PrintHeader(os, "DebugInfo"); | 989 HeapObject::PrintHeader(os, "DebugInfo"); |
| 990 os << "\n - shared: " << Brief(shared()); | 990 os << "\n - shared: " << Brief(shared()); |
| 991 os << "\n - original_code: " << Brief(original_code()); | |
| 992 os << "\n - code: " << Brief(code()); | 991 os << "\n - code: " << Brief(code()); |
| 993 os << "\n - break_points: "; | 992 os << "\n - break_points: "; |
| 994 break_points()->Print(os); | 993 break_points()->Print(os); |
| 995 } | 994 } |
| 996 | 995 |
| 997 | 996 |
| 998 void BreakPointInfo::BreakPointInfoPrint(std::ostream& os) { // NOLINT | 997 void BreakPointInfo::BreakPointInfoPrint(std::ostream& os) { // NOLINT |
| 999 HeapObject::PrintHeader(os, "BreakPointInfo"); | 998 HeapObject::PrintHeader(os, "BreakPointInfo"); |
| 1000 os << "\n - code_position: " << code_position()->value(); | 999 os << "\n - code_position: " << code_position()->value(); |
| 1001 os << "\n - source_position: " << source_position()->value(); | 1000 os << "\n - source_position: " << source_position()->value(); |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 } | 1168 } |
| 1170 } | 1169 } |
| 1171 | 1170 |
| 1172 | 1171 |
| 1173 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1172 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
| 1174 TransitionArray::PrintTransitions(os, map()->raw_transitions()); | 1173 TransitionArray::PrintTransitions(os, map()->raw_transitions()); |
| 1175 } | 1174 } |
| 1176 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1175 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
| 1177 } // namespace internal | 1176 } // namespace internal |
| 1178 } // namespace v8 | 1177 } // namespace v8 |
| OLD | NEW |