OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2593 target->compare_operation() + Token::EQ); | 2593 target->compare_operation() + Token::EQ); |
2594 } | 2594 } |
2595 | 2595 |
2596 | 2596 |
2597 const char* CompareIC::GetStateName(State state) { | 2597 const char* CompareIC::GetStateName(State state) { |
2598 switch (state) { | 2598 switch (state) { |
2599 case UNINITIALIZED: return "UNINITIALIZED"; | 2599 case UNINITIALIZED: return "UNINITIALIZED"; |
2600 case SMIS: return "SMIS"; | 2600 case SMIS: return "SMIS"; |
2601 case HEAP_NUMBERS: return "HEAP_NUMBERS"; | 2601 case HEAP_NUMBERS: return "HEAP_NUMBERS"; |
2602 case OBJECTS: return "OBJECTS"; | 2602 case OBJECTS: return "OBJECTS"; |
2603 case KNOWN_OBJECTS: return "OBJECTS"; | 2603 case KNOWN_OBJECTS: return "KNOWN_OBJECTS"; |
2604 case SYMBOLS: return "SYMBOLS"; | 2604 case SYMBOLS: return "SYMBOLS"; |
2605 case STRINGS: return "STRINGS"; | 2605 case STRINGS: return "STRINGS"; |
2606 case GENERIC: return "GENERIC"; | 2606 case GENERIC: return "GENERIC"; |
2607 default: | 2607 default: |
2608 UNREACHABLE(); | 2608 UNREACHABLE(); |
2609 return NULL; | 2609 return NULL; |
2610 } | 2610 } |
2611 } | 2611 } |
2612 | 2612 |
2613 | 2613 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2705 #undef ADDR | 2705 #undef ADDR |
2706 }; | 2706 }; |
2707 | 2707 |
2708 | 2708 |
2709 Address IC::AddressFromUtilityId(IC::UtilityId id) { | 2709 Address IC::AddressFromUtilityId(IC::UtilityId id) { |
2710 return IC_utilities[id]; | 2710 return IC_utilities[id]; |
2711 } | 2711 } |
2712 | 2712 |
2713 | 2713 |
2714 } } // namespace v8::internal | 2714 } } // namespace v8::internal |
OLD | NEW |