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

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

Issue 12297012: Runtime version of declarative native accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed nits Created 7 years, 9 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') | test/cctest/SConscript » ('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 // 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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 PrintF(out, "\n - flag: "); 922 PrintF(out, "\n - flag: ");
923 flag()->ShortPrint(out); 923 flag()->ShortPrint(out);
924 PrintF(out, "\n - descriptor: "); 924 PrintF(out, "\n - descriptor: ");
925 descriptor()->ShortPrint(out); 925 descriptor()->ShortPrint(out);
926 } 926 }
927 927
928 928
929 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) { 929 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) {
930 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor"); 930 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor");
931 PrintF(out, "\n - internal field: "); 931 PrintF(out, "\n - internal field: ");
932 internal_field()->ShortPrint(out); 932 serialized_data()->ShortPrint(out);
933 } 933 }
934 934
935 935
936 void AccessorPair::AccessorPairPrint(FILE* out) { 936 void AccessorPair::AccessorPairPrint(FILE* out) {
937 HeapObject::PrintHeader(out, "AccessorPair"); 937 HeapObject::PrintHeader(out, "AccessorPair");
938 PrintF(out, "\n - getter: "); 938 PrintF(out, "\n - getter: ");
939 getter()->ShortPrint(out); 939 getter()->ShortPrint(out);
940 PrintF(out, "\n - setter: "); 940 PrintF(out, "\n - setter: ");
941 setter()->ShortPrint(out); 941 setter()->ShortPrint(out);
942 } 942 }
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 } 1170 }
1171 } 1171 }
1172 PrintF(out, "\n"); 1172 PrintF(out, "\n");
1173 } 1173 }
1174 1174
1175 1175
1176 #endif // OBJECT_PRINT 1176 #endif // OBJECT_PRINT
1177 1177
1178 1178
1179 } } // namespace v8::internal 1179 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | test/cctest/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698