OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1810 CASE(BUILTIN); | 1810 CASE(BUILTIN); |
1811 CASE(LOAD_IC); | 1811 CASE(LOAD_IC); |
1812 CASE(KEYED_LOAD_IC); | 1812 CASE(KEYED_LOAD_IC); |
1813 CASE(STORE_IC); | 1813 CASE(STORE_IC); |
1814 CASE(KEYED_STORE_IC); | 1814 CASE(KEYED_STORE_IC); |
1815 CASE(CALL_IC); | 1815 CASE(CALL_IC); |
1816 CASE(KEYED_CALL_IC); | 1816 CASE(KEYED_CALL_IC); |
1817 CASE(UNARY_OP_IC); | 1817 CASE(UNARY_OP_IC); |
1818 CASE(BINARY_OP_IC); | 1818 CASE(BINARY_OP_IC); |
1819 CASE(COMPARE_IC); | 1819 CASE(COMPARE_IC); |
| 1820 CASE(COMPARE_NIL_IC); |
1820 CASE(TO_BOOLEAN_IC); | 1821 CASE(TO_BOOLEAN_IC); |
1821 } | 1822 } |
1822 } | 1823 } |
1823 | 1824 |
1824 #undef CASE | 1825 #undef CASE |
1825 | 1826 |
1826 PrintF("\n Code kind histograms: \n"); | 1827 PrintF("\n Code kind histograms: \n"); |
1827 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { | 1828 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { |
1828 if (isolate->code_kind_statistics()[i] > 0) { | 1829 if (isolate->code_kind_statistics()[i] > 0) { |
1829 PrintF(" %-20s: %10d bytes\n", table[i], | 1830 PrintF(" %-20s: %10d bytes\n", table[i], |
(...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3175 object->ShortPrint(); | 3176 object->ShortPrint(); |
3176 PrintF("\n"); | 3177 PrintF("\n"); |
3177 } | 3178 } |
3178 printf(" --------------------------------------\n"); | 3179 printf(" --------------------------------------\n"); |
3179 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 3180 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); |
3180 } | 3181 } |
3181 | 3182 |
3182 #endif // DEBUG | 3183 #endif // DEBUG |
3183 | 3184 |
3184 } } // namespace v8::internal | 3185 } } // namespace v8::internal |
OLD | NEW |