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 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 os << "\n - reject: " << Brief(reject()); | 1245 os << "\n - reject: " << Brief(reject()); |
1246 os << "\n - debug id: " << debug_id(); | 1246 os << "\n - debug id: " << debug_id(); |
1247 os << "\n - debug name: " << debug_name(); | 1247 os << "\n - debug name: " << debug_name(); |
1248 os << "\n - context: " << Brief(context()); | 1248 os << "\n - context: " << Brief(context()); |
1249 os << "\n"; | 1249 os << "\n"; |
1250 } | 1250 } |
1251 | 1251 |
1252 void PromiseReactionJobInfo::PromiseReactionJobInfoPrint( | 1252 void PromiseReactionJobInfo::PromiseReactionJobInfoPrint( |
1253 std::ostream& os) { // NOLINT | 1253 std::ostream& os) { // NOLINT |
1254 HeapObject::PrintHeader(os, "PromiseReactionJobInfo"); | 1254 HeapObject::PrintHeader(os, "PromiseReactionJobInfo"); |
1255 os << "\n - promise: " << Brief(promise()); | |
1256 os << "\n - value: " << Brief(value()); | 1255 os << "\n - value: " << Brief(value()); |
1257 os << "\n - tasks: " << Brief(tasks()); | 1256 os << "\n - tasks: " << Brief(tasks()); |
1258 os << "\n - deferred_promise: " << Brief(deferred_promise()); | 1257 os << "\n - deferred_promise: " << Brief(deferred_promise()); |
1259 os << "\n - deferred_on_resolve: " << Brief(deferred_on_resolve()); | 1258 os << "\n - deferred_on_resolve: " << Brief(deferred_on_resolve()); |
1260 os << "\n - deferred_on_reject: " << Brief(deferred_on_reject()); | 1259 os << "\n - deferred_on_reject: " << Brief(deferred_on_reject()); |
1261 os << "\n - debug id: " << debug_id(); | 1260 os << "\n - debug id: " << debug_id(); |
1262 os << "\n - debug name: " << debug_name(); | 1261 os << "\n - debug name: " << debug_name(); |
1263 os << "\n - reaction context: " << Brief(context()); | 1262 os << "\n - reaction context: " << Brief(context()); |
1264 os << "\n"; | 1263 os << "\n"; |
1265 } | 1264 } |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1704 printf("Not a transition array\n"); | 1703 printf("Not a transition array\n"); |
1705 } else { | 1704 } else { |
1706 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1705 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1707 } | 1706 } |
1708 } | 1707 } |
1709 | 1708 |
1710 extern void _v8_internal_Print_StackTrace() { | 1709 extern void _v8_internal_Print_StackTrace() { |
1711 i::Isolate* isolate = i::Isolate::Current(); | 1710 i::Isolate* isolate = i::Isolate::Current(); |
1712 isolate->PrintStack(stdout); | 1711 isolate->PrintStack(stdout); |
1713 } | 1712 } |
OLD | NEW |