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 3626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3637 __ SmiUntag(ecx); | 3637 __ SmiUntag(ecx); |
3638 __ mov_b(Operand(edi, ecx, times_1, 0), ebx); | 3638 __ mov_b(Operand(edi, ecx, times_1, 0), ebx); |
3639 break; | 3639 break; |
3640 case EXTERNAL_SHORT_ELEMENTS: | 3640 case EXTERNAL_SHORT_ELEMENTS: |
3641 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: | 3641 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: |
3642 __ mov_w(Operand(edi, ecx, times_1, 0), ebx); | 3642 __ mov_w(Operand(edi, ecx, times_1, 0), ebx); |
3643 break; | 3643 break; |
3644 case EXTERNAL_INT_ELEMENTS: | 3644 case EXTERNAL_INT_ELEMENTS: |
3645 case EXTERNAL_UNSIGNED_INT_ELEMENTS: | 3645 case EXTERNAL_UNSIGNED_INT_ELEMENTS: |
3646 __ mov(Operand(edi, ecx, times_2, 0), ebx); | 3646 __ mov(Operand(edi, ecx, times_2, 0), ebx); |
| 3647 break; |
3647 default: | 3648 default: |
3648 UNREACHABLE(); | 3649 UNREACHABLE(); |
3649 break; | 3650 break; |
3650 } | 3651 } |
3651 } | 3652 } |
3652 __ ret(0); // Return original value. | 3653 __ ret(0); // Return original value. |
3653 } | 3654 } |
3654 } | 3655 } |
3655 } | 3656 } |
3656 | 3657 |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4066 __ jmp(ic_slow, RelocInfo::CODE_TARGET); | 4067 __ jmp(ic_slow, RelocInfo::CODE_TARGET); |
4067 } | 4068 } |
4068 } | 4069 } |
4069 | 4070 |
4070 | 4071 |
4071 #undef __ | 4072 #undef __ |
4072 | 4073 |
4073 } } // namespace v8::internal | 4074 } } // namespace v8::internal |
4074 | 4075 |
4075 #endif // V8_TARGET_ARCH_IA32 | 4076 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |