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

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

Issue 15993016: Remove the optimized construct stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 6 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.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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 // Script files are often large, hard to read. 878 // Script files are often large, hard to read.
879 // PrintF(out, "\n - script ="); 879 // PrintF(out, "\n - script =");
880 // script()->Print(out); 880 // script()->Print(out);
881 PrintF(out, "\n - function token position = %d", function_token_position()); 881 PrintF(out, "\n - function token position = %d", function_token_position());
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",
889 has_only_simple_this_property_assignments());
890 PrintF(out, "\n - this_property_assignments = ");
891 this_property_assignments()->ShortPrint(out);
892 PrintF(out, "\n - optimized_code_map = "); 888 PrintF(out, "\n - optimized_code_map = ");
893 optimized_code_map()->ShortPrint(out); 889 optimized_code_map()->ShortPrint(out);
894 PrintF(out, "\n"); 890 PrintF(out, "\n");
895 } 891 }
896 892
897 893
898 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) { 894 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) {
899 PrintF(out, "global_proxy "); 895 PrintF(out, "global_proxy ");
900 JSObjectPrint(out); 896 JSObjectPrint(out);
901 PrintF(out, "native context : "); 897 PrintF(out, "native context : ");
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 } 1205 }
1210 } 1206 }
1211 PrintF(out, "\n"); 1207 PrintF(out, "\n");
1212 } 1208 }
1213 1209
1214 1210
1215 #endif // OBJECT_PRINT 1211 #endif // OBJECT_PRINT
1216 1212
1217 1213
1218 } } // namespace v8::internal 1214 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698