Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: src/objects-printer.cc

Issue 2412263002: [promises] rename PromiseContainer to PromiseResolveThenableJobInfo (Closed)
Patch Set: fix build Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/disasm.h" 10 #include "src/disasm.h"
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 os << "\n"; 1143 os << "\n";
1144 } 1144 }
1145 1145
1146 1146
1147 void Box::BoxPrint(std::ostream& os) { // NOLINT 1147 void Box::BoxPrint(std::ostream& os) { // NOLINT
1148 HeapObject::PrintHeader(os, "Box"); 1148 HeapObject::PrintHeader(os, "Box");
1149 os << "\n - value: " << Brief(value()); 1149 os << "\n - value: " << Brief(value());
1150 os << "\n"; 1150 os << "\n";
1151 } 1151 }
1152 1152
1153 void PromiseContainer::PromiseContainerPrint(std::ostream& os) { // NOLINT 1153 void PromiseResolveThenableJobInfo::PromiseResolveThenableJobInfoPrint(
1154 HeapObject::PrintHeader(os, "PromiseContainer"); 1154 std::ostream& os) { // NOLINT
1155 HeapObject::PrintHeader(os, "PromiseResolveThenableJobInfo");
1155 os << "\n - thenable: " << Brief(thenable()); 1156 os << "\n - thenable: " << Brief(thenable());
1156 os << "\n - then: " << Brief(then()); 1157 os << "\n - then: " << Brief(then());
1157 os << "\n - resolve: " << Brief(resolve()); 1158 os << "\n - resolve: " << Brief(resolve());
1158 os << "\n - reject: " << Brief(reject()); 1159 os << "\n - reject: " << Brief(reject());
1159 os << "\n - before debug event: " << Brief(before_debug_event()); 1160 os << "\n - before debug event: " << Brief(before_debug_event());
1160 os << "\n - after debug event: " << Brief(after_debug_event()); 1161 os << "\n - after debug event: " << Brief(after_debug_event());
1161 os << "\n"; 1162 os << "\n";
1162 } 1163 }
1163 1164
1164 void PromiseReactionJobInfo::PromiseReactionJobInfoPrint( 1165 void PromiseReactionJobInfo::PromiseReactionJobInfoPrint(
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 printf("Not a transition array\n"); 1560 printf("Not a transition array\n");
1560 } else { 1561 } else {
1561 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1562 reinterpret_cast<i::TransitionArray*>(object)->Print();
1562 } 1563 }
1563 } 1564 }
1564 1565
1565 extern void _v8_internal_Print_StackTrace() { 1566 extern void _v8_internal_Print_StackTrace() {
1566 i::Isolate* isolate = i::Isolate::Current(); 1567 i::Isolate* isolate = i::Isolate::Current();
1567 isolate->PrintStack(stdout); 1568 isolate->PrintStack(stdout);
1568 } 1569 }
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698