| 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 "src/arm64/assembler-arm64.h" | 10 #include "src/arm64/assembler-arm64.h" |
| (...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1719 void StoreToSafepointRegisterSlot(Register src, Register dst) { | 1719 void StoreToSafepointRegisterSlot(Register src, Register dst) { |
| 1720 Poke(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); | 1720 Poke(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); |
| 1721 } | 1721 } |
| 1722 | 1722 |
| 1723 // Load the value of the src register from its safepoint stack slot | 1723 // Load the value of the src register from its safepoint stack slot |
| 1724 // into register dst. | 1724 // into register dst. |
| 1725 void LoadFromSafepointRegisterSlot(Register dst, Register src) { | 1725 void LoadFromSafepointRegisterSlot(Register dst, Register src) { |
| 1726 Peek(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); | 1726 Peek(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); |
| 1727 } | 1727 } |
| 1728 | 1728 |
| 1729 void CheckPageFlag(const Register& object, const Register& scratch, int mask, |
| 1730 Condition cc, Label* condition_met); |
| 1731 |
| 1729 void CheckPageFlagSet(const Register& object, | 1732 void CheckPageFlagSet(const Register& object, |
| 1730 const Register& scratch, | 1733 const Register& scratch, |
| 1731 int mask, | 1734 int mask, |
| 1732 Label* if_any_set); | 1735 Label* if_any_set); |
| 1733 | 1736 |
| 1734 void CheckPageFlagClear(const Register& object, | 1737 void CheckPageFlagClear(const Register& object, |
| 1735 const Register& scratch, | 1738 const Register& scratch, |
| 1736 int mask, | 1739 int mask, |
| 1737 Label* if_all_clear); | 1740 Label* if_all_clear); |
| 1738 | 1741 |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2253 #error "Unsupported option" | 2256 #error "Unsupported option" |
| 2254 #define CODE_COVERAGE_STRINGIFY(x) #x | 2257 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2255 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2258 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2256 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2259 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2257 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2260 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2258 #else | 2261 #else |
| 2259 #define ACCESS_MASM(masm) masm-> | 2262 #define ACCESS_MASM(masm) masm-> |
| 2260 #endif | 2263 #endif |
| 2261 | 2264 |
| 2262 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2265 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |