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

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

Issue 2487053002: [promises] Remove one runtime call to create_resolving_functions (Closed)
Patch Set: add dcheck Created 4 years, 1 month 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/promise-utils.h » ('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 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 1164
1165 void PromiseResolveThenableJobInfo::PromiseResolveThenableJobInfoPrint( 1165 void PromiseResolveThenableJobInfo::PromiseResolveThenableJobInfoPrint(
1166 std::ostream& os) { // NOLINT 1166 std::ostream& os) { // NOLINT
1167 HeapObject::PrintHeader(os, "PromiseResolveThenableJobInfo"); 1167 HeapObject::PrintHeader(os, "PromiseResolveThenableJobInfo");
1168 os << "\n - thenable: " << Brief(thenable()); 1168 os << "\n - thenable: " << Brief(thenable());
1169 os << "\n - then: " << Brief(then()); 1169 os << "\n - then: " << Brief(then());
1170 os << "\n - resolve: " << Brief(resolve()); 1170 os << "\n - resolve: " << Brief(resolve());
1171 os << "\n - reject: " << Brief(reject()); 1171 os << "\n - reject: " << Brief(reject());
1172 os << "\n - debug id: " << Brief(debug_id()); 1172 os << "\n - debug id: " << Brief(debug_id());
1173 os << "\n - debug name: " << Brief(debug_name()); 1173 os << "\n - debug name: " << Brief(debug_name());
1174 os << "\n - context: " << Brief(context());
1174 os << "\n"; 1175 os << "\n";
1175 } 1176 }
1176 1177
1177 void PromiseReactionJobInfo::PromiseReactionJobInfoPrint( 1178 void PromiseReactionJobInfo::PromiseReactionJobInfoPrint(
1178 std::ostream& os) { // NOLINT 1179 std::ostream& os) { // NOLINT
1179 HeapObject::PrintHeader(os, "PromiseReactionJobInfo"); 1180 HeapObject::PrintHeader(os, "PromiseReactionJobInfo");
1180 os << "\n - value: " << Brief(value()); 1181 os << "\n - value: " << Brief(value());
1181 os << "\n - tasks: " << Brief(tasks()); 1182 os << "\n - tasks: " << Brief(tasks());
1182 os << "\n - deferred: " << Brief(deferred()); 1183 os << "\n - deferred: " << Brief(deferred());
1183 os << "\n - debug id: " << Brief(debug_id()); 1184 os << "\n - debug id: " << Brief(debug_id());
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 printf("Not a transition array\n"); 1596 printf("Not a transition array\n");
1596 } else { 1597 } else {
1597 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1598 reinterpret_cast<i::TransitionArray*>(object)->Print();
1598 } 1599 }
1599 } 1600 }
1600 1601
1601 extern void _v8_internal_Print_StackTrace() { 1602 extern void _v8_internal_Print_StackTrace() {
1602 i::Isolate* isolate = i::Isolate::Current(); 1603 i::Isolate* isolate = i::Isolate::Current();
1603 isolate->PrintStack(stdout); 1604 isolate->PrintStack(stdout);
1604 } 1605 }
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/promise-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698