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 4668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4679 if (grow_mode == ALLOW_JSARRAY_GROWTH) { | 4679 if (grow_mode == ALLOW_JSARRAY_GROWTH) { |
4680 __ b(hs, &grow); | 4680 __ b(hs, &grow); |
4681 } else { | 4681 } else { |
4682 __ b(hs, &miss_force_generic); | 4682 __ b(hs, &miss_force_generic); |
4683 } | 4683 } |
4684 | 4684 |
4685 __ bind(&finish_store); | 4685 __ bind(&finish_store); |
4686 __ StoreNumberToDoubleElements(value_reg, | 4686 __ StoreNumberToDoubleElements(value_reg, |
4687 key_reg, | 4687 key_reg, |
4688 receiver_reg, | 4688 receiver_reg, |
| 4689 // All registers after this are overwritten. |
4689 elements_reg, | 4690 elements_reg, |
4690 scratch1, | 4691 scratch1, |
4691 scratch2, | 4692 scratch2, |
4692 scratch3, | 4693 scratch3, |
4693 scratch4, | 4694 scratch4, |
4694 &transition_elements_kind); | 4695 &transition_elements_kind); |
4695 __ Ret(); | 4696 __ Ret(); |
4696 | 4697 |
4697 // Handle store cache miss, replacing the ic with the generic stub. | 4698 // Handle store cache miss, replacing the ic with the generic stub. |
4698 __ bind(&miss_force_generic); | 4699 __ bind(&miss_force_generic); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4773 __ Jump(ic_slow, RelocInfo::CODE_TARGET); | 4774 __ Jump(ic_slow, RelocInfo::CODE_TARGET); |
4774 } | 4775 } |
4775 } | 4776 } |
4776 | 4777 |
4777 | 4778 |
4778 #undef __ | 4779 #undef __ |
4779 | 4780 |
4780 } } // namespace v8::internal | 4781 } } // namespace v8::internal |
4781 | 4782 |
4782 #endif // V8_TARGET_ARCH_ARM | 4783 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |