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

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

Issue 159013002: Remove obsolete stack trace string in a message object. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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') | no next file » | 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 void JSMessageObject::JSMessageObjectPrint(FILE* out) { 617 void JSMessageObject::JSMessageObjectPrint(FILE* out) {
618 HeapObject::PrintHeader(out, "JSMessageObject"); 618 HeapObject::PrintHeader(out, "JSMessageObject");
619 PrintF(out, " - type: "); 619 PrintF(out, " - type: ");
620 type()->ShortPrint(out); 620 type()->ShortPrint(out);
621 PrintF(out, "\n - arguments: "); 621 PrintF(out, "\n - arguments: ");
622 arguments()->ShortPrint(out); 622 arguments()->ShortPrint(out);
623 PrintF(out, "\n - start_position: %d", start_position()); 623 PrintF(out, "\n - start_position: %d", start_position());
624 PrintF(out, "\n - end_position: %d", end_position()); 624 PrintF(out, "\n - end_position: %d", end_position());
625 PrintF(out, "\n - script: "); 625 PrintF(out, "\n - script: ");
626 script()->ShortPrint(out); 626 script()->ShortPrint(out);
627 PrintF(out, "\n - stack_trace: ");
628 stack_trace()->ShortPrint(out);
629 PrintF(out, "\n - stack_frames: "); 627 PrintF(out, "\n - stack_frames: ");
630 stack_frames()->ShortPrint(out); 628 stack_frames()->ShortPrint(out);
631 PrintF(out, "\n"); 629 PrintF(out, "\n");
632 } 630 }
633 631
634 632
635 void String::StringPrint(FILE* out) { 633 void String::StringPrint(FILE* out) {
636 if (StringShape(this).IsInternalized()) { 634 if (StringShape(this).IsInternalized()) {
637 PrintF(out, "#"); 635 PrintF(out, "#");
638 } else if (StringShape(this).IsCons()) { 636 } else if (StringShape(this).IsCons()) {
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 } 1218 }
1221 } 1219 }
1222 PrintF(out, "\n"); 1220 PrintF(out, "\n");
1223 } 1221 }
1224 1222
1225 1223
1226 #endif // OBJECT_PRINT 1224 #endif // OBJECT_PRINT
1227 1225
1228 1226
1229 } } // namespace v8::internal 1227 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698