| 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 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1800 | 1800 |
| 1801 #define CASE(name) \ | 1801 #define CASE(name) \ |
| 1802 case Code::name: table[Code::name] = #name; \ | 1802 case Code::name: table[Code::name] = #name; \ |
| 1803 break | 1803 break |
| 1804 | 1804 |
| 1805 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { | 1805 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) { |
| 1806 switch (static_cast<Code::Kind>(i)) { | 1806 switch (static_cast<Code::Kind>(i)) { |
| 1807 CASE(FUNCTION); | 1807 CASE(FUNCTION); |
| 1808 CASE(OPTIMIZED_FUNCTION); | 1808 CASE(OPTIMIZED_FUNCTION); |
| 1809 CASE(STUB); | 1809 CASE(STUB); |
| 1810 CASE(COMPILED_STUB); | |
| 1811 CASE(BUILTIN); | 1810 CASE(BUILTIN); |
| 1812 CASE(LOAD_IC); | 1811 CASE(LOAD_IC); |
| 1813 CASE(KEYED_LOAD_IC); | 1812 CASE(KEYED_LOAD_IC); |
| 1814 CASE(STORE_IC); | 1813 CASE(STORE_IC); |
| 1815 CASE(KEYED_STORE_IC); | 1814 CASE(KEYED_STORE_IC); |
| 1816 CASE(CALL_IC); | 1815 CASE(CALL_IC); |
| 1817 CASE(KEYED_CALL_IC); | 1816 CASE(KEYED_CALL_IC); |
| 1818 CASE(UNARY_OP_IC); | 1817 CASE(UNARY_OP_IC); |
| 1819 CASE(BINARY_OP_IC); | 1818 CASE(BINARY_OP_IC); |
| 1820 CASE(COMPARE_IC); | 1819 CASE(COMPARE_IC); |
| (...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3176 object->ShortPrint(); | 3175 object->ShortPrint(); |
| 3177 PrintF("\n"); | 3176 PrintF("\n"); |
| 3178 } | 3177 } |
| 3179 printf(" --------------------------------------\n"); | 3178 printf(" --------------------------------------\n"); |
| 3180 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 3179 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); |
| 3181 } | 3180 } |
| 3182 | 3181 |
| 3183 #endif // DEBUG | 3182 #endif // DEBUG |
| 3184 | 3183 |
| 3185 } } // namespace v8::internal | 3184 } } // namespace v8::internal |
| OLD | NEW |