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

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

Issue 10532063: Optimistically assume that elements IC only transition once. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 8 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.cc ('k') | src/stub-cache.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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 } 552 }
553 if (is_access_check_needed()) { 553 if (is_access_check_needed()) {
554 PrintF(out, " - access_check_needed\n"); 554 PrintF(out, " - access_check_needed\n");
555 } 555 }
556 PrintF(out, " - instance descriptors: "); 556 PrintF(out, " - instance descriptors: ");
557 instance_descriptors()->ShortPrint(out); 557 instance_descriptors()->ShortPrint(out);
558 PrintF(out, "\n - prototype: "); 558 PrintF(out, "\n - prototype: ");
559 prototype()->ShortPrint(out); 559 prototype()->ShortPrint(out);
560 PrintF(out, "\n - constructor: "); 560 PrintF(out, "\n - constructor: ");
561 constructor()->ShortPrint(out); 561 constructor()->ShortPrint(out);
562 PrintF(out, "\n - code cache: ");
563 code_cache()->ShortPrint(out);
562 PrintF(out, "\n"); 564 PrintF(out, "\n");
563 } 565 }
564 566
565 567
566 void CodeCache::CodeCachePrint(FILE* out) { 568 void CodeCache::CodeCachePrint(FILE* out) {
567 HeapObject::PrintHeader(out, "CodeCache"); 569 HeapObject::PrintHeader(out, "CodeCache");
568 PrintF(out, "\n - default_cache: "); 570 PrintF(out, "\n - default_cache: ");
569 default_cache()->ShortPrint(out); 571 default_cache()->ShortPrint(out);
570 PrintF(out, "\n - normal_type_cache: "); 572 PrintF(out, "\n - normal_type_cache: ");
571 normal_type_cache()->ShortPrint(out); 573 normal_type_cache()->ShortPrint(out);
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 desc.Print(out); 1035 desc.Print(out);
1034 } 1036 }
1035 PrintF(out, "\n"); 1037 PrintF(out, "\n");
1036 } 1038 }
1037 1039
1038 1040
1039 #endif // OBJECT_PRINT 1041 #endif // OBJECT_PRINT
1040 1042
1041 1043
1042 } } // namespace v8::internal 1044 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/stub-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698