| 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 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 DCHECK(object->IsSmi()); | 888 DCHECK(object->IsSmi()); |
| 889 Mov(result, Operand(object)); | 889 Mov(result, Operand(object)); |
| 890 } | 890 } |
| 891 } | 891 } |
| 892 | 892 |
| 893 static int SafepointRegisterStackIndex(int reg_code); | 893 static int SafepointRegisterStackIndex(int reg_code); |
| 894 | 894 |
| 895 // This is required for compatibility with architecture independant code. | 895 // This is required for compatibility with architecture independant code. |
| 896 // Remove if not needed. | 896 // Remove if not needed. |
| 897 inline void Move(Register dst, Register src) { Mov(dst, src); } | 897 inline void Move(Register dst, Register src) { Mov(dst, src); } |
| 898 inline void Move(Register dst, Smi* src) { Mov(dst, src); } |
| 898 | 899 |
| 899 void LoadInstanceDescriptors(Register map, | 900 void LoadInstanceDescriptors(Register map, |
| 900 Register descriptors); | 901 Register descriptors); |
| 901 void EnumLengthUntagged(Register dst, Register map); | 902 void EnumLengthUntagged(Register dst, Register map); |
| 902 void EnumLengthSmi(Register dst, Register map); | 903 void EnumLengthSmi(Register dst, Register map); |
| 903 void NumberOfOwnDescriptors(Register dst, Register map); | 904 void NumberOfOwnDescriptors(Register dst, Register map); |
| 904 void LoadAccessor(Register dst, Register holder, int accessor_index, | 905 void LoadAccessor(Register dst, Register holder, int accessor_index, |
| 905 AccessorComponent accessor); | 906 AccessorComponent accessor); |
| 906 | 907 |
| 907 template<typename Field> | 908 template<typename Field> |
| (...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2263 #error "Unsupported option" | 2264 #error "Unsupported option" |
| 2264 #define CODE_COVERAGE_STRINGIFY(x) #x | 2265 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2265 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2266 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2266 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2267 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2267 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2268 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2268 #else | 2269 #else |
| 2269 #define ACCESS_MASM(masm) masm-> | 2270 #define ACCESS_MASM(masm) masm-> |
| 2270 #endif | 2271 #endif |
| 2271 | 2272 |
| 2272 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2273 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |