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

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

Issue 607913002: Report promise reject with no handler (behind a flag). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: more comments Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/objects-inl.h ('k') | src/promise.js » ('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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 void JSValue::JSValuePrint(OStream& os) { // NOLINT 556 void JSValue::JSValuePrint(OStream& os) { // NOLINT
557 HeapObject::PrintHeader(os, "ValueObject"); 557 HeapObject::PrintHeader(os, "ValueObject");
558 value()->Print(os); 558 value()->Print(os);
559 } 559 }
560 560
561 561
562 void JSMessageObject::JSMessageObjectPrint(OStream& os) { // NOLINT 562 void JSMessageObject::JSMessageObjectPrint(OStream& os) { // NOLINT
563 HeapObject::PrintHeader(os, "JSMessageObject"); 563 HeapObject::PrintHeader(os, "JSMessageObject");
564 os << " - type: " << Brief(type()); 564 os << " - type: " << Brief(type());
565 os << "\n - arguments: " << Brief(arguments()); 565 os << "\n - arguments: " << Brief(arguments());
566 os << "\n - promise: " << Brief(promise());
566 os << "\n - start_position: " << start_position(); 567 os << "\n - start_position: " << start_position();
567 os << "\n - end_position: " << end_position(); 568 os << "\n - end_position: " << end_position();
568 os << "\n - script: " << Brief(script()); 569 os << "\n - script: " << Brief(script());
569 os << "\n - stack_frames: " << Brief(stack_frames()); 570 os << "\n - stack_frames: " << Brief(stack_frames());
570 os << "\n"; 571 os << "\n";
571 } 572 }
572 573
573 574
574 void String::StringPrint(OStream& os) { // NOLINT 575 void String::StringPrint(OStream& os) { // NOLINT
575 if (StringShape(this).IsInternalized()) { 576 if (StringShape(this).IsInternalized()) {
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 } 1104 }
1104 } 1105 }
1105 os << "\n"; 1106 os << "\n";
1106 } 1107 }
1107 1108
1108 1109
1109 #endif // OBJECT_PRINT 1110 #endif // OBJECT_PRINT
1110 1111
1111 1112
1112 } } // namespace v8::internal 1113 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698