| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/frames.h" | 9 #include "src/frames.h" |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 // Push a fixed frame, consisting of lr, fp, constant pool (if | 436 // Push a fixed frame, consisting of lr, fp, constant pool (if |
| 437 // FLAG_enable_ool_constant_pool), context and JS function / marker id if | 437 // FLAG_enable_ool_constant_pool), context and JS function / marker id if |
| 438 // marker_reg is a valid register. | 438 // marker_reg is a valid register. |
| 439 void PushFixedFrame(Register marker_reg = no_reg); | 439 void PushFixedFrame(Register marker_reg = no_reg); |
| 440 void PopFixedFrame(Register marker_reg = no_reg); | 440 void PopFixedFrame(Register marker_reg = no_reg); |
| 441 | 441 |
| 442 // Push and pop the registers that can hold pointers, as defined by the | 442 // Push and pop the registers that can hold pointers, as defined by the |
| 443 // RegList constant kSafepointSavedRegisters. | 443 // RegList constant kSafepointSavedRegisters. |
| 444 void PushSafepointRegisters(); | 444 void PushSafepointRegisters(); |
| 445 void PopSafepointRegisters(); | 445 void PopSafepointRegisters(); |
| 446 void PushSafepointRegistersAndDoubles(); | |
| 447 void PopSafepointRegistersAndDoubles(); | |
| 448 // Store value in register src in the safepoint stack slot for | 446 // Store value in register src in the safepoint stack slot for |
| 449 // register dst. | 447 // register dst. |
| 450 void StoreToSafepointRegisterSlot(Register src, Register dst); | 448 void StoreToSafepointRegisterSlot(Register src, Register dst); |
| 451 void StoreToSafepointRegistersAndDoublesSlot(Register src, Register dst); | |
| 452 // Load the value of the src register from its safepoint stack slot | 449 // Load the value of the src register from its safepoint stack slot |
| 453 // into register dst. | 450 // into register dst. |
| 454 void LoadFromSafepointRegisterSlot(Register dst, Register src); | 451 void LoadFromSafepointRegisterSlot(Register dst, Register src); |
| 455 | 452 |
| 456 // Load two consecutive registers with two consecutive memory locations. | 453 // Load two consecutive registers with two consecutive memory locations. |
| 457 void Ldrd(Register dst1, | 454 void Ldrd(Register dst1, |
| 458 Register dst2, | 455 Register dst2, |
| 459 const MemOperand& src, | 456 const MemOperand& src, |
| 460 Condition cond = al); | 457 Condition cond = al); |
| 461 | 458 |
| (...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1622 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1619 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1623 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1620 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1624 #else | 1621 #else |
| 1625 #define ACCESS_MASM(masm) masm-> | 1622 #define ACCESS_MASM(masm) masm-> |
| 1626 #endif | 1623 #endif |
| 1627 | 1624 |
| 1628 | 1625 |
| 1629 } } // namespace v8::internal | 1626 } } // namespace v8::internal |
| 1630 | 1627 |
| 1631 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1628 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |