| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1567 Register addr, | 1567 Register addr, |
| 1568 Register scratch, | 1568 Register scratch, |
| 1569 SaveFPRegsMode save_fp, | 1569 SaveFPRegsMode save_fp, |
| 1570 RememberedSetFinalAction and_then); | 1570 RememberedSetFinalAction and_then); |
| 1571 | 1571 |
| 1572 // Push and pop the registers that can hold pointers, as defined by the | 1572 // Push and pop the registers that can hold pointers, as defined by the |
| 1573 // RegList constant kSafepointSavedRegisters. | 1573 // RegList constant kSafepointSavedRegisters. |
| 1574 void PushSafepointRegisters(); | 1574 void PushSafepointRegisters(); |
| 1575 void PopSafepointRegisters(); | 1575 void PopSafepointRegisters(); |
| 1576 | 1576 |
| 1577 void PushSafepointFPRegisters(); |
| 1578 void PopSafepointFPRegisters(); |
| 1579 |
| 1577 // Store value in register src in the safepoint stack slot for register dst. | 1580 // Store value in register src in the safepoint stack slot for register dst. |
| 1578 void StoreToSafepointRegisterSlot(Register src, Register dst) { | 1581 void StoreToSafepointRegisterSlot(Register src, Register dst) { |
| 1579 Poke(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); | 1582 Poke(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); |
| 1580 } | 1583 } |
| 1581 | 1584 |
| 1582 // Load the value of the src register from its safepoint stack slot | 1585 // Load the value of the src register from its safepoint stack slot |
| 1583 // into register dst. | 1586 // into register dst. |
| 1584 void LoadFromSafepointRegisterSlot(Register dst, Register src) { | 1587 void LoadFromSafepointRegisterSlot(Register dst, Register src) { |
| 1585 Peek(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); | 1588 Peek(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); |
| 1586 } | 1589 } |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2129 #error "Unsupported option" | 2132 #error "Unsupported option" |
| 2130 #define CODE_COVERAGE_STRINGIFY(x) #x | 2133 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2131 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2134 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2132 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2135 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2133 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2136 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2134 #else | 2137 #else |
| 2135 #define ACCESS_MASM(masm) masm-> | 2138 #define ACCESS_MASM(masm) masm-> |
| 2136 #endif | 2139 #endif |
| 2137 | 2140 |
| 2138 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2141 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |