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

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

Issue 15743005: Fix corner case in optimized code map zapping. (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 | « src/objects.cc ('k') | 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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 PrintF(out, "\n - start position = %d", start_position()); 882 PrintF(out, "\n - start position = %d", start_position());
883 PrintF(out, "\n - end position = %d", end_position()); 883 PrintF(out, "\n - end position = %d", end_position());
884 PrintF(out, "\n - is expression = %d", is_expression()); 884 PrintF(out, "\n - is expression = %d", is_expression());
885 PrintF(out, "\n - debug info = "); 885 PrintF(out, "\n - debug info = ");
886 debug_info()->ShortPrint(out); 886 debug_info()->ShortPrint(out);
887 PrintF(out, "\n - length = %d", length()); 887 PrintF(out, "\n - length = %d", length());
888 PrintF(out, "\n - has_only_simple_this_property_assignments = %d", 888 PrintF(out, "\n - has_only_simple_this_property_assignments = %d",
889 has_only_simple_this_property_assignments()); 889 has_only_simple_this_property_assignments());
890 PrintF(out, "\n - this_property_assignments = "); 890 PrintF(out, "\n - this_property_assignments = ");
891 this_property_assignments()->ShortPrint(out); 891 this_property_assignments()->ShortPrint(out);
892 PrintF(out, "\n - optimized_code_map = ");
893 optimized_code_map()->ShortPrint(out);
892 PrintF(out, "\n"); 894 PrintF(out, "\n");
893 } 895 }
894 896
895 897
896 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) { 898 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) {
897 PrintF(out, "global_proxy "); 899 PrintF(out, "global_proxy ");
898 JSObjectPrint(out); 900 JSObjectPrint(out);
899 PrintF(out, "native context : "); 901 PrintF(out, "native context : ");
900 native_context()->ShortPrint(out); 902 native_context()->ShortPrint(out);
901 PrintF(out, "\n"); 903 PrintF(out, "\n");
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 } 1209 }
1208 } 1210 }
1209 PrintF(out, "\n"); 1211 PrintF(out, "\n");
1210 } 1212 }
1211 1213
1212 1214
1213 #endif // OBJECT_PRINT 1215 #endif // OBJECT_PRINT
1214 1216
1215 1217
1216 } } // namespace v8::internal 1218 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698