OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 } | 228 } |
229 } | 229 } |
230 | 230 |
231 // Push and pop the registers that can hold pointers, as defined by the | 231 // Push and pop the registers that can hold pointers, as defined by the |
232 // RegList constant kSafepointSavedRegisters. | 232 // RegList constant kSafepointSavedRegisters. |
233 void PushSafepointRegisters(); | 233 void PushSafepointRegisters(); |
234 void PopSafepointRegisters(); | 234 void PopSafepointRegisters(); |
235 void PushSafepointRegistersAndDoubles(); | 235 void PushSafepointRegistersAndDoubles(); |
236 void PopSafepointRegistersAndDoubles(); | 236 void PopSafepointRegistersAndDoubles(); |
237 void StoreToSafepointRegisterSlot(Register reg); | 237 void StoreToSafepointRegisterSlot(Register reg); |
| 238 void StoreToSafepointRegistersAndDoublesSlot(Register reg); |
| 239 void LoadFromSafepointRegisterSlot(Register reg); |
238 static int SafepointRegisterStackIndex(int reg_code); | 240 static int SafepointRegisterStackIndex(int reg_code); |
239 static MemOperand SafepointRegisterSlot(Register reg); | 241 static MemOperand SafepointRegisterSlot(Register reg); |
| 242 static MemOperand SafepointRegistersAndDoublesSlot(Register reg); |
240 | 243 |
241 // Load two consecutive registers with two consecutive memory locations. | 244 // Load two consecutive registers with two consecutive memory locations. |
242 void Ldrd(Register dst1, | 245 void Ldrd(Register dst1, |
243 Register dst2, | 246 Register dst2, |
244 const MemOperand& src, | 247 const MemOperand& src, |
245 Condition cond = al); | 248 Condition cond = al); |
246 | 249 |
247 // Store two consecutive registers to two consecutive memory locations. | 250 // Store two consecutive registers to two consecutive memory locations. |
248 void Strd(Register src1, | 251 void Strd(Register src1, |
249 Register src2, | 252 Register src2, |
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 893 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
891 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 894 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
892 #else | 895 #else |
893 #define ACCESS_MASM(masm) masm-> | 896 #define ACCESS_MASM(masm) masm-> |
894 #endif | 897 #endif |
895 | 898 |
896 | 899 |
897 } } // namespace v8::internal | 900 } } // namespace v8::internal |
898 | 901 |
899 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 902 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |