| 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/objects.h" | 5 #include "src/objects.h" |
| 6 | 6 |
| 7 #include <iomanip> | 7 #include <iomanip> |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1456 os << "\n - line ends: " << Brief(line_ends()); | 1456 os << "\n - line ends: " << Brief(line_ends()); |
| 1457 os << "\n - eval from shared: " << Brief(eval_from_shared()); | 1457 os << "\n - eval from shared: " << Brief(eval_from_shared()); |
| 1458 os << "\n - eval from position: " << eval_from_position(); | 1458 os << "\n - eval from position: " << eval_from_position(); |
| 1459 os << "\n - shared function infos: " << Brief(shared_function_infos()); | 1459 os << "\n - shared function infos: " << Brief(shared_function_infos()); |
| 1460 os << "\n"; | 1460 os << "\n"; |
| 1461 } | 1461 } |
| 1462 | 1462 |
| 1463 | 1463 |
| 1464 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT | 1464 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT |
| 1465 HeapObject::PrintHeader(os, "DebugInfo"); | 1465 HeapObject::PrintHeader(os, "DebugInfo"); |
| 1466 os << "\n - flags: " << flags(); |
| 1467 os << "\n - debugger_hints: " << debugger_hints(); |
| 1466 os << "\n - shared: " << Brief(shared()); | 1468 os << "\n - shared: " << Brief(shared()); |
| 1467 os << "\n - debug bytecode array: " << Brief(debug_bytecode_array()); | 1469 os << "\n - debug bytecode array: " << Brief(debug_bytecode_array()); |
| 1468 os << "\n - break_points: "; | 1470 os << "\n - break_points: "; |
| 1469 break_points()->Print(os); | 1471 break_points()->Print(os); |
| 1470 } | 1472 } |
| 1471 | 1473 |
| 1472 | 1474 |
| 1473 void StackFrameInfo::StackFrameInfoPrint(std::ostream& os) { // NOLINT | 1475 void StackFrameInfo::StackFrameInfoPrint(std::ostream& os) { // NOLINT |
| 1474 HeapObject::PrintHeader(os, "StackFrame"); | 1476 HeapObject::PrintHeader(os, "StackFrame"); |
| 1475 os << "\n - line_number: " << line_number(); | 1477 os << "\n - line_number: " << line_number(); |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1737 printf("Not a transition array\n"); | 1739 printf("Not a transition array\n"); |
| 1738 } else { | 1740 } else { |
| 1739 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1741 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
| 1740 } | 1742 } |
| 1741 } | 1743 } |
| 1742 | 1744 |
| 1743 extern void _v8_internal_Print_StackTrace() { | 1745 extern void _v8_internal_Print_StackTrace() { |
| 1744 i::Isolate* isolate = i::Isolate::Current(); | 1746 i::Isolate* isolate = i::Isolate::Current(); |
| 1745 isolate->PrintStack(stdout); | 1747 isolate->PrintStack(stdout); |
| 1746 } | 1748 } |
| OLD | NEW |