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

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

Issue 22903012: js accessor creation on Template (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: grokdump Created 7 years, 3 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/runtime.h » ('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 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 value()->ShortPrint(out); 978 value()->ShortPrint(out);
979 } 979 }
980 980
981 981
982 void AccessorPair::AccessorPairPrint(FILE* out) { 982 void AccessorPair::AccessorPairPrint(FILE* out) {
983 HeapObject::PrintHeader(out, "AccessorPair"); 983 HeapObject::PrintHeader(out, "AccessorPair");
984 PrintF(out, "\n - getter: "); 984 PrintF(out, "\n - getter: ");
985 getter()->ShortPrint(out); 985 getter()->ShortPrint(out);
986 PrintF(out, "\n - setter: "); 986 PrintF(out, "\n - setter: ");
987 setter()->ShortPrint(out); 987 setter()->ShortPrint(out);
988 PrintF(out, "\n - flag: ");
989 access_flags()->ShortPrint(out);
988 } 990 }
989 991
990 992
991 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { 993 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) {
992 HeapObject::PrintHeader(out, "AccessCheckInfo"); 994 HeapObject::PrintHeader(out, "AccessCheckInfo");
993 PrintF(out, "\n - named_callback: "); 995 PrintF(out, "\n - named_callback: ");
994 named_callback()->ShortPrint(out); 996 named_callback()->ShortPrint(out);
995 PrintF(out, "\n - indexed_callback: "); 997 PrintF(out, "\n - indexed_callback: ");
996 indexed_callback()->ShortPrint(out); 998 indexed_callback()->ShortPrint(out);
997 PrintF(out, "\n - data: "); 999 PrintF(out, "\n - data: ");
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 } 1232 }
1231 } 1233 }
1232 PrintF(out, "\n"); 1234 PrintF(out, "\n");
1233 } 1235 }
1234 1236
1235 1237
1236 #endif // OBJECT_PRINT 1238 #endif // OBJECT_PRINT
1237 1239
1238 1240
1239 } } // namespace v8::internal 1241 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698