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

Side by Side Diff: src/spaces.cc

Issue 551093: Implementing inline caches for GenericBinaryOpStub. ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { 1351 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1352 switch (static_cast<Code::Kind>(i)) { 1352 switch (static_cast<Code::Kind>(i)) {
1353 CASE(FUNCTION); 1353 CASE(FUNCTION);
1354 CASE(STUB); 1354 CASE(STUB);
1355 CASE(BUILTIN); 1355 CASE(BUILTIN);
1356 CASE(LOAD_IC); 1356 CASE(LOAD_IC);
1357 CASE(KEYED_LOAD_IC); 1357 CASE(KEYED_LOAD_IC);
1358 CASE(STORE_IC); 1358 CASE(STORE_IC);
1359 CASE(KEYED_STORE_IC); 1359 CASE(KEYED_STORE_IC);
1360 CASE(CALL_IC); 1360 CASE(CALL_IC);
1361 CASE(BINARY_OP_IC);
1361 } 1362 }
1362 } 1363 }
1363 1364
1364 #undef CASE 1365 #undef CASE
1365 1366
1366 PrintF("\n Code kind histograms: \n"); 1367 PrintF("\n Code kind histograms: \n");
1367 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { 1368 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1368 if (code_kind_statistics[i] > 0) { 1369 if (code_kind_statistics[i] > 0) {
1369 PrintF(" %-20s: %10d bytes\n", table[i], code_kind_statistics[i]); 1370 PrintF(" %-20s: %10d bytes\n", table[i], code_kind_statistics[i]);
1370 } 1371 }
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
2855 reinterpret_cast<Object**>(object->address() 2856 reinterpret_cast<Object**>(object->address()
2856 + Page::kObjectAreaSize), 2857 + Page::kObjectAreaSize),
2857 allocation_top); 2858 allocation_top);
2858 PrintF("\n"); 2859 PrintF("\n");
2859 } 2860 }
2860 } 2861 }
2861 } 2862 }
2862 #endif // DEBUG 2863 #endif // DEBUG
2863 2864
2864 } } // namespace v8::internal 2865 } } // namespace v8::internal
OLDNEW
« src/ic.cc ('K') | « src/objects-inl.h ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698