| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "v8globals.h" | 10 #include "v8globals.h" |
| (...skipping 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1641 Bind(&no_memento_found); | 1641 Bind(&no_memento_found); |
| 1642 } | 1642 } |
| 1643 | 1643 |
| 1644 // The stack pointer has to switch between csp and jssp when setting up and | 1644 // The stack pointer has to switch between csp and jssp when setting up and |
| 1645 // destroying the exit frame. Hence preserving/restoring the registers is | 1645 // destroying the exit frame. Hence preserving/restoring the registers is |
| 1646 // slightly more complicated than simple push/pop operations. | 1646 // slightly more complicated than simple push/pop operations. |
| 1647 void ExitFramePreserveFPRegs(); | 1647 void ExitFramePreserveFPRegs(); |
| 1648 void ExitFrameRestoreFPRegs(); | 1648 void ExitFrameRestoreFPRegs(); |
| 1649 | 1649 |
| 1650 // Generates function and stub prologue code. | 1650 // Generates function and stub prologue code. |
| 1651 void Prologue(PrologueFrameMode frame_mode); | 1651 void Prologue(CompilationInfo* info); |
| 1652 | 1652 |
| 1653 // Enter exit frame. Exit frames are used when calling C code from generated | 1653 // Enter exit frame. Exit frames are used when calling C code from generated |
| 1654 // (JavaScript) code. | 1654 // (JavaScript) code. |
| 1655 // | 1655 // |
| 1656 // The stack pointer must be jssp on entry, and will be set to csp by this | 1656 // The stack pointer must be jssp on entry, and will be set to csp by this |
| 1657 // function. The frame pointer is also configured, but the only other | 1657 // function. The frame pointer is also configured, but the only other |
| 1658 // registers modified by this function are the provided scratch register, and | 1658 // registers modified by this function are the provided scratch register, and |
| 1659 // jssp. | 1659 // jssp. |
| 1660 // | 1660 // |
| 1661 // The 'extra_space' argument can be used to allocate some space in the exit | 1661 // The 'extra_space' argument can be used to allocate some space in the exit |
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2296 #error "Unsupported option" | 2296 #error "Unsupported option" |
| 2297 #define CODE_COVERAGE_STRINGIFY(x) #x | 2297 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2298 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2298 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2299 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2299 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2300 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2300 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2301 #else | 2301 #else |
| 2302 #define ACCESS_MASM(masm) masm-> | 2302 #define ACCESS_MASM(masm) masm-> |
| 2303 #endif | 2303 #endif |
| 2304 | 2304 |
| 2305 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2305 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |