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

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

Issue 9227007: Version 3.8.6 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 11 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/parser.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 setter()->ShortPrint(out); 779 setter()->ShortPrint(out);
780 PrintF(out, "\n - name: "); 780 PrintF(out, "\n - name: ");
781 name()->ShortPrint(out); 781 name()->ShortPrint(out);
782 PrintF(out, "\n - data: "); 782 PrintF(out, "\n - data: ");
783 data()->ShortPrint(out); 783 data()->ShortPrint(out);
784 PrintF(out, "\n - flag: "); 784 PrintF(out, "\n - flag: ");
785 flag()->ShortPrint(out); 785 flag()->ShortPrint(out);
786 } 786 }
787 787
788 788
789 void AccessorPair::AccessorPairPrint(FILE* out) {
790 HeapObject::PrintHeader(out, "AccessorPair");
791 PrintF(out, "\n - getter: ");
792 getter()->ShortPrint(out);
793 PrintF(out, "\n - setter: ");
794 setter()->ShortPrint(out);
795 }
796
797
789 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { 798 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) {
790 HeapObject::PrintHeader(out, "AccessCheckInfo"); 799 HeapObject::PrintHeader(out, "AccessCheckInfo");
791 PrintF(out, "\n - named_callback: "); 800 PrintF(out, "\n - named_callback: ");
792 named_callback()->ShortPrint(out); 801 named_callback()->ShortPrint(out);
793 PrintF(out, "\n - indexed_callback: "); 802 PrintF(out, "\n - indexed_callback: ");
794 indexed_callback()->ShortPrint(out); 803 indexed_callback()->ShortPrint(out);
795 PrintF(out, "\n - data: "); 804 PrintF(out, "\n - data: ");
796 data()->ShortPrint(out); 805 data()->ShortPrint(out);
797 } 806 }
798 807
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 desc.Print(out); 965 desc.Print(out);
957 } 966 }
958 PrintF(out, "\n"); 967 PrintF(out, "\n");
959 } 968 }
960 969
961 970
962 #endif // OBJECT_PRINT 971 #endif // OBJECT_PRINT
963 972
964 973
965 } } // namespace v8::internal 974 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698