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 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 | 1673 |
1674 #define CASE(name) \ | 1674 #define CASE(name) \ |
1675 case Code::name: table[Code::name] = #name; \ | 1675 case Code::name: table[Code::name] = #name; \ |
1676 break | 1676 break |
1677 | 1677 |
1678 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { | 1678 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { |
1679 switch (static_cast<Code::Kind>(i)) { | 1679 switch (static_cast<Code::Kind>(i)) { |
1680 CASE(FUNCTION); | 1680 CASE(FUNCTION); |
1681 CASE(OPTIMIZED_FUNCTION); | 1681 CASE(OPTIMIZED_FUNCTION); |
1682 CASE(STUB); | 1682 CASE(STUB); |
1683 CASE(COMPILED_STUB); | |
1684 CASE(BUILTIN); | 1683 CASE(BUILTIN); |
1685 CASE(LOAD_IC); | 1684 CASE(LOAD_IC); |
1686 CASE(KEYED_LOAD_IC); | 1685 CASE(KEYED_LOAD_IC); |
1687 CASE(STORE_IC); | 1686 CASE(STORE_IC); |
1688 CASE(KEYED_STORE_IC); | 1687 CASE(KEYED_STORE_IC); |
1689 CASE(CALL_IC); | 1688 CASE(CALL_IC); |
1690 CASE(KEYED_CALL_IC); | 1689 CASE(KEYED_CALL_IC); |
1691 CASE(UNARY_OP_IC); | 1690 CASE(UNARY_OP_IC); |
1692 CASE(BINARY_OP_IC); | 1691 CASE(BINARY_OP_IC); |
1693 CASE(COMPARE_IC); | 1692 CASE(COMPARE_IC); |
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2951 object->ShortPrint(); | 2950 object->ShortPrint(); |
2952 PrintF("\n"); | 2951 PrintF("\n"); |
2953 } | 2952 } |
2954 printf(" --------------------------------------\n"); | 2953 printf(" --------------------------------------\n"); |
2955 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 2954 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); |
2956 } | 2955 } |
2957 | 2956 |
2958 #endif // DEBUG | 2957 #endif // DEBUG |
2959 | 2958 |
2960 } } // namespace v8::internal | 2959 } } // namespace v8::internal |
OLD | NEW |