| 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/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
| (...skipping 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1775 void CheckPageFlagSet(const Register& object, | 1775 void CheckPageFlagSet(const Register& object, |
| 1776 const Register& scratch, | 1776 const Register& scratch, |
| 1777 int mask, | 1777 int mask, |
| 1778 Label* if_any_set); | 1778 Label* if_any_set); |
| 1779 | 1779 |
| 1780 void CheckPageFlagClear(const Register& object, | 1780 void CheckPageFlagClear(const Register& object, |
| 1781 const Register& scratch, | 1781 const Register& scratch, |
| 1782 int mask, | 1782 int mask, |
| 1783 Label* if_all_clear); | 1783 Label* if_all_clear); |
| 1784 | 1784 |
| 1785 void CheckMapDeprecated(Handle<Map> map, | |
| 1786 Register scratch, | |
| 1787 Label* if_deprecated); | |
| 1788 | |
| 1789 // Check if object is in new space and jump accordingly. | 1785 // Check if object is in new space and jump accordingly. |
| 1790 // Register 'object' is preserved. | 1786 // Register 'object' is preserved. |
| 1791 void JumpIfNotInNewSpace(Register object, | 1787 void JumpIfNotInNewSpace(Register object, |
| 1792 Label* branch) { | 1788 Label* branch) { |
| 1793 InNewSpace(object, ne, branch); | 1789 InNewSpace(object, ne, branch); |
| 1794 } | 1790 } |
| 1795 | 1791 |
| 1796 void JumpIfInNewSpace(Register object, | 1792 void JumpIfInNewSpace(Register object, |
| 1797 Label* branch) { | 1793 Label* branch) { |
| 1798 InNewSpace(object, eq, branch); | 1794 InNewSpace(object, eq, branch); |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2337 #error "Unsupported option" | 2333 #error "Unsupported option" |
| 2338 #define CODE_COVERAGE_STRINGIFY(x) #x | 2334 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2339 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2335 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2340 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2336 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2341 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2337 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2342 #else | 2338 #else |
| 2343 #define ACCESS_MASM(masm) masm-> | 2339 #define ACCESS_MASM(masm) masm-> |
| 2344 #endif | 2340 #endif |
| 2345 | 2341 |
| 2346 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2342 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |