OLD | NEW |
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 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { | 1372 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { |
1373 switch (static_cast<Code::Kind>(i)) { | 1373 switch (static_cast<Code::Kind>(i)) { |
1374 CASE(FUNCTION); | 1374 CASE(FUNCTION); |
1375 CASE(STUB); | 1375 CASE(STUB); |
1376 CASE(BUILTIN); | 1376 CASE(BUILTIN); |
1377 CASE(LOAD_IC); | 1377 CASE(LOAD_IC); |
1378 CASE(KEYED_LOAD_IC); | 1378 CASE(KEYED_LOAD_IC); |
1379 CASE(STORE_IC); | 1379 CASE(STORE_IC); |
1380 CASE(KEYED_STORE_IC); | 1380 CASE(KEYED_STORE_IC); |
1381 CASE(CALL_IC); | 1381 CASE(CALL_IC); |
| 1382 CASE(BINARY_OP_IC); |
1382 } | 1383 } |
1383 } | 1384 } |
1384 | 1385 |
1385 #undef CASE | 1386 #undef CASE |
1386 | 1387 |
1387 PrintF("\n Code kind histograms: \n"); | 1388 PrintF("\n Code kind histograms: \n"); |
1388 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { | 1389 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { |
1389 if (code_kind_statistics[i] > 0) { | 1390 if (code_kind_statistics[i] > 0) { |
1390 PrintF(" %-20s: %10d bytes\n", table[i], code_kind_statistics[i]); | 1391 PrintF(" %-20s: %10d bytes\n", table[i], code_kind_statistics[i]); |
1391 } | 1392 } |
(...skipping 1477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2869 reinterpret_cast<Object**>(object->address() | 2870 reinterpret_cast<Object**>(object->address() |
2870 + Page::kObjectAreaSize), | 2871 + Page::kObjectAreaSize), |
2871 allocation_top); | 2872 allocation_top); |
2872 PrintF("\n"); | 2873 PrintF("\n"); |
2873 } | 2874 } |
2874 } | 2875 } |
2875 } | 2876 } |
2876 #endif // DEBUG | 2877 #endif // DEBUG |
2877 | 2878 |
2878 } } // namespace v8::internal | 2879 } } // namespace v8::internal |
OLD | NEW |