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 4730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4741 __ Branch(&grow, hs, key_reg, Operand(scratch1)); | 4741 __ Branch(&grow, hs, key_reg, Operand(scratch1)); |
4742 } else { | 4742 } else { |
4743 __ Branch(&miss_force_generic, hs, key_reg, Operand(scratch1)); | 4743 __ Branch(&miss_force_generic, hs, key_reg, Operand(scratch1)); |
4744 } | 4744 } |
4745 | 4745 |
4746 __ bind(&finish_store); | 4746 __ bind(&finish_store); |
4747 | 4747 |
4748 __ StoreNumberToDoubleElements(value_reg, | 4748 __ StoreNumberToDoubleElements(value_reg, |
4749 key_reg, | 4749 key_reg, |
4750 receiver_reg, | 4750 receiver_reg, |
| 4751 // All registers after this are overwritten. |
4751 elements_reg, | 4752 elements_reg, |
4752 scratch1, | 4753 scratch1, |
4753 scratch2, | 4754 scratch2, |
4754 scratch3, | 4755 scratch3, |
4755 scratch4, | 4756 scratch4, |
4756 &transition_elements_kind); | 4757 &transition_elements_kind); |
4757 | 4758 |
4758 __ Ret(USE_DELAY_SLOT); | 4759 __ Ret(USE_DELAY_SLOT); |
4759 __ mov(v0, value_reg); // In delay slot. | 4760 __ mov(v0, value_reg); // In delay slot. |
4760 | 4761 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4835 __ Jump(ic_slow, RelocInfo::CODE_TARGET); | 4836 __ Jump(ic_slow, RelocInfo::CODE_TARGET); |
4836 } | 4837 } |
4837 } | 4838 } |
4838 | 4839 |
4839 | 4840 |
4840 #undef __ | 4841 #undef __ |
4841 | 4842 |
4842 } } // namespace v8::internal | 4843 } } // namespace v8::internal |
4843 | 4844 |
4844 #endif // V8_TARGET_ARCH_MIPS | 4845 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |