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 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1235 os << "\n - reject: " << Brief(reject()); | 1235 os << "\n - reject: " << Brief(reject()); |
1236 os << "\n - debug id: " << Brief(debug_id()); | 1236 os << "\n - debug id: " << Brief(debug_id()); |
1237 os << "\n - debug name: " << Brief(debug_name()); | 1237 os << "\n - debug name: " << Brief(debug_name()); |
1238 os << "\n - context: " << Brief(context()); | 1238 os << "\n - context: " << Brief(context()); |
1239 os << "\n"; | 1239 os << "\n"; |
1240 } | 1240 } |
1241 | 1241 |
1242 void PromiseReactionJobInfo::PromiseReactionJobInfoPrint( | 1242 void PromiseReactionJobInfo::PromiseReactionJobInfoPrint( |
1243 std::ostream& os) { // NOLINT | 1243 std::ostream& os) { // NOLINT |
1244 HeapObject::PrintHeader(os, "PromiseReactionJobInfo"); | 1244 HeapObject::PrintHeader(os, "PromiseReactionJobInfo"); |
| 1245 os << "\n - promise: " << Brief(promise()); |
1245 os << "\n - value: " << Brief(value()); | 1246 os << "\n - value: " << Brief(value()); |
1246 os << "\n - tasks: " << Brief(tasks()); | 1247 os << "\n - tasks: " << Brief(tasks()); |
1247 os << "\n - deferred: " << Brief(deferred()); | 1248 os << "\n - deferred: " << Brief(deferred()); |
1248 os << "\n - debug id: " << Brief(debug_id()); | 1249 os << "\n - debug id: " << Brief(debug_id()); |
1249 os << "\n - debug name: " << Brief(debug_name()); | 1250 os << "\n - debug name: " << Brief(debug_name()); |
1250 os << "\n - reaction context: " << Brief(context()); | 1251 os << "\n - reaction context: " << Brief(context()); |
1251 os << "\n"; | 1252 os << "\n"; |
1252 } | 1253 } |
1253 | 1254 |
1254 void ModuleInfoEntry::ModuleInfoEntryPrint(std::ostream& os) { // NOLINT | 1255 void ModuleInfoEntry::ModuleInfoEntryPrint(std::ostream& os) { // NOLINT |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1684 printf("Not a transition array\n"); | 1685 printf("Not a transition array\n"); |
1685 } else { | 1686 } else { |
1686 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1687 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1687 } | 1688 } |
1688 } | 1689 } |
1689 | 1690 |
1690 extern void _v8_internal_Print_StackTrace() { | 1691 extern void _v8_internal_Print_StackTrace() { |
1691 i::Isolate* isolate = i::Isolate::Current(); | 1692 i::Isolate* isolate = i::Isolate::Current(); |
1692 isolate->PrintStack(stdout); | 1693 isolate->PrintStack(stdout); |
1693 } | 1694 } |
OLD | NEW |