| 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 16 matching lines...) Expand all Loading... |
| 27 #define ASM_UNIMPLEMENTED(message) | 27 #define ASM_UNIMPLEMENTED(message) |
| 28 #define ASM_UNIMPLEMENTED_BREAK(message) | 28 #define ASM_UNIMPLEMENTED_BREAK(message) |
| 29 #define ASM_LOCATION(message) | 29 #define ASM_LOCATION(message) |
| 30 #endif | 30 #endif |
| 31 | 31 |
| 32 | 32 |
| 33 namespace v8 { | 33 namespace v8 { |
| 34 namespace internal { | 34 namespace internal { |
| 35 | 35 |
| 36 // Give alias names to registers for calling conventions. | 36 // Give alias names to registers for calling conventions. |
| 37 // TODO(titzer): arm64 is a pain for aliasing; get rid of these macros | |
| 38 #define kReturnRegister0 x0 | 37 #define kReturnRegister0 x0 |
| 39 #define kReturnRegister1 x1 | 38 #define kReturnRegister1 x1 |
| 40 #define kReturnRegister2 x2 | 39 #define kReturnRegister2 x2 |
| 41 #define kJSFunctionRegister x1 | 40 #define kJSFunctionRegister x1 |
| 42 #define kContextRegister cp | 41 #define kContextRegister cp |
| 43 #define kInterpreterAccumulatorRegister x0 | 42 #define kInterpreterAccumulatorRegister x0 |
| 44 #define kInterpreterRegisterFileRegister x18 | 43 #define kInterpreterRegisterFileRegister x18 |
| 45 #define kInterpreterBytecodeOffsetRegister x19 | 44 #define kInterpreterBytecodeOffsetRegister x19 |
| 46 #define kInterpreterBytecodeArrayRegister x20 | 45 #define kInterpreterBytecodeArrayRegister x20 |
| 47 #define kInterpreterDispatchTableRegister x21 | 46 #define kInterpreterDispatchTableRegister x21 |
| (...skipping 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2256 #error "Unsupported option" | 2255 #error "Unsupported option" |
| 2257 #define CODE_COVERAGE_STRINGIFY(x) #x | 2256 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2258 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2257 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2259 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2258 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2260 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2259 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2261 #else | 2260 #else |
| 2262 #define ACCESS_MASM(masm) masm-> | 2261 #define ACCESS_MASM(masm) masm-> |
| 2263 #endif | 2262 #endif |
| 2264 | 2263 |
| 2265 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2264 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |