| 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 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |