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

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

Issue 11802003: Add API for access checks on observed objects (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 setter()->ShortPrint(out); 897 setter()->ShortPrint(out);
898 } 898 }
899 899
900 900
901 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { 901 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) {
902 HeapObject::PrintHeader(out, "AccessCheckInfo"); 902 HeapObject::PrintHeader(out, "AccessCheckInfo");
903 PrintF(out, "\n - named_callback: "); 903 PrintF(out, "\n - named_callback: ");
904 named_callback()->ShortPrint(out); 904 named_callback()->ShortPrint(out);
905 PrintF(out, "\n - indexed_callback: "); 905 PrintF(out, "\n - indexed_callback: ");
906 indexed_callback()->ShortPrint(out); 906 indexed_callback()->ShortPrint(out);
907 PrintF(out, "\n - observe_callback: ");
908 observe_callback()->ShortPrint(out);
907 PrintF(out, "\n - data: "); 909 PrintF(out, "\n - data: ");
908 data()->ShortPrint(out); 910 data()->ShortPrint(out);
909 } 911 }
910 912
911 913
912 void InterceptorInfo::InterceptorInfoPrint(FILE* out) { 914 void InterceptorInfo::InterceptorInfoPrint(FILE* out) {
913 HeapObject::PrintHeader(out, "InterceptorInfo"); 915 HeapObject::PrintHeader(out, "InterceptorInfo");
914 PrintF(out, "\n - getter: "); 916 PrintF(out, "\n - getter: ");
915 getter()->ShortPrint(out); 917 getter()->ShortPrint(out);
916 PrintF(out, "\n - setter: "); 918 PrintF(out, "\n - setter: ");
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 } 1101 }
1100 } 1102 }
1101 PrintF(out, "\n"); 1103 PrintF(out, "\n");
1102 } 1104 }
1103 1105
1104 1106
1105 #endif // OBJECT_PRINT 1107 #endif // OBJECT_PRINT
1106 1108
1107 1109
1108 } } // namespace v8::internal 1110 } } // 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