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 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 Register scratch, | 809 Register scratch, |
810 Label* fail); | 810 Label* fail); |
811 | 811 |
812 // Check to see if maybe_number can be stored as a double in | 812 // Check to see if maybe_number can be stored as a double in |
813 // FastDoubleElements. If it can, store it at the index specified by key in | 813 // FastDoubleElements. If it can, store it at the index specified by key in |
814 // the FastDoubleElements array elements. Otherwise jump to fail, in which | 814 // the FastDoubleElements array elements. Otherwise jump to fail, in which |
815 // case scratch2, scratch3 and scratch4 are unmodified. | 815 // case scratch2, scratch3 and scratch4 are unmodified. |
816 void StoreNumberToDoubleElements(Register value_reg, | 816 void StoreNumberToDoubleElements(Register value_reg, |
817 Register key_reg, | 817 Register key_reg, |
818 Register receiver_reg, | 818 Register receiver_reg, |
| 819 // All regs below here overwritten. |
819 Register elements_reg, | 820 Register elements_reg, |
820 Register scratch1, | 821 Register scratch1, |
821 Register scratch2, | 822 Register scratch2, |
822 Register scratch3, | 823 Register scratch3, |
823 Register scratch4, | 824 Register scratch4, |
824 Label* fail); | 825 Label* fail); |
825 | 826 |
826 // Compare an object's map with the specified map and its transitioned | 827 // Compare an object's map with the specified map and its transitioned |
827 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. Condition flags are | 828 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. Condition flags are |
828 // set with result of map compare. If multiple map compares are required, the | 829 // set with result of map compare. If multiple map compares are required, the |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1400 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1401 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1401 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1402 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1402 #else | 1403 #else |
1403 #define ACCESS_MASM(masm) masm-> | 1404 #define ACCESS_MASM(masm) masm-> |
1404 #endif | 1405 #endif |
1405 | 1406 |
1406 | 1407 |
1407 } } // namespace v8::internal | 1408 } } // namespace v8::internal |
1408 | 1409 |
1409 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1410 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |