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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 Register scratch, | 966 Register scratch, |
967 Label* fail); | 967 Label* fail); |
968 | 968 |
969 // Check to see if maybe_number can be stored as a double in | 969 // Check to see if maybe_number can be stored as a double in |
970 // FastDoubleElements. If it can, store it at the index specified by key in | 970 // FastDoubleElements. If it can, store it at the index specified by key in |
971 // the FastDoubleElements array elements. Otherwise jump to fail, in which | 971 // the FastDoubleElements array elements. Otherwise jump to fail, in which |
972 // case scratch2, scratch3 and scratch4 are unmodified. | 972 // case scratch2, scratch3 and scratch4 are unmodified. |
973 void StoreNumberToDoubleElements(Register value_reg, | 973 void StoreNumberToDoubleElements(Register value_reg, |
974 Register key_reg, | 974 Register key_reg, |
975 Register receiver_reg, | 975 Register receiver_reg, |
| 976 // All regs below here overwritten. |
976 Register elements_reg, | 977 Register elements_reg, |
977 Register scratch1, | 978 Register scratch1, |
978 Register scratch2, | 979 Register scratch2, |
979 Register scratch3, | 980 Register scratch3, |
980 Register scratch4, | 981 Register scratch4, |
981 Label* fail); | 982 Label* fail); |
982 | 983 |
983 // Compare an object's map with the specified map and its transitioned | 984 // Compare an object's map with the specified map and its transitioned |
984 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. Jumps to | 985 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. Jumps to |
985 // "branch_to" if the result of the comparison is "cond". If multiple map | 986 // "branch_to" if the result of the comparison is "cond". If multiple map |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1545 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1546 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1546 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1547 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1547 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1548 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1548 #else | 1549 #else |
1549 #define ACCESS_MASM(masm) masm-> | 1550 #define ACCESS_MASM(masm) masm-> |
1550 #endif | 1551 #endif |
1551 | 1552 |
1552 } } // namespace v8::internal | 1553 } } // namespace v8::internal |
1553 | 1554 |
1554 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1555 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |