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

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

Issue 14969030: Slight improvement of object printer for maps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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 | « no previous file | 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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 PrintF(out, " - undetectable\n"); 589 PrintF(out, " - undetectable\n");
590 } 590 }
591 if (has_instance_call_handler()) { 591 if (has_instance_call_handler()) {
592 PrintF(out, " - instance_call_handler\n"); 592 PrintF(out, " - instance_call_handler\n");
593 } 593 }
594 if (is_access_check_needed()) { 594 if (is_access_check_needed()) {
595 PrintF(out, " - access_check_needed\n"); 595 PrintF(out, " - access_check_needed\n");
596 } 596 }
597 PrintF(out, " - back pointer: "); 597 PrintF(out, " - back pointer: ");
598 GetBackPointer()->ShortPrint(out); 598 GetBackPointer()->ShortPrint(out);
599 PrintF(out, "\n - instance descriptors %i #%i: ", 599 PrintF(out, "\n - instance descriptors %s#%i: ",
600 owns_descriptors(), 600 owns_descriptors() ? "(own) " : "",
601 NumberOfOwnDescriptors()); 601 NumberOfOwnDescriptors());
602 instance_descriptors()->ShortPrint(out); 602 instance_descriptors()->ShortPrint(out);
603 if (HasTransitionArray()) { 603 if (HasTransitionArray()) {
604 PrintF(out, "\n - transitions: "); 604 PrintF(out, "\n - transitions: ");
605 transitions()->ShortPrint(out); 605 transitions()->ShortPrint(out);
606 } 606 }
607 PrintF(out, "\n - prototype: "); 607 PrintF(out, "\n - prototype: ");
608 prototype()->ShortPrint(out); 608 prototype()->ShortPrint(out);
609 PrintF(out, "\n - constructor: "); 609 PrintF(out, "\n - constructor: ");
610 constructor()->ShortPrint(out); 610 constructor()->ShortPrint(out);
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 } 1207 }
1208 } 1208 }
1209 PrintF(out, "\n"); 1209 PrintF(out, "\n");
1210 } 1210 }
1211 1211
1212 1212
1213 #endif // OBJECT_PRINT 1213 #endif // OBJECT_PRINT
1214 1214
1215 1215
1216 } } // namespace v8::internal 1216 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698