| 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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1142 | 1142 |
| 1143 // Store the code object for the given builtin in the target register and | 1143 // Store the code object for the given builtin in the target register and |
| 1144 // setup the function in the function register. | 1144 // setup the function in the function register. |
| 1145 void GetBuiltinEntry(Register target, Register function, | 1145 void GetBuiltinEntry(Register target, Register function, |
| 1146 int native_context_index); | 1146 int native_context_index); |
| 1147 | 1147 |
| 1148 // Store the function for the given builtin in the target register. | 1148 // Store the function for the given builtin in the target register. |
| 1149 void GetBuiltinFunction(Register target, int native_context_index); | 1149 void GetBuiltinFunction(Register target, int native_context_index); |
| 1150 | 1150 |
| 1151 void Jump(Register target); | 1151 void Jump(Register target); |
| 1152 void Jump(Address target, RelocInfo::Mode rmode); | 1152 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); |
| 1153 void Jump(Handle<Code> code, RelocInfo::Mode rmode); | 1153 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); |
| 1154 void Jump(intptr_t target, RelocInfo::Mode rmode); | 1154 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
| 1155 | 1155 |
| 1156 void Call(Register target); | 1156 void Call(Register target); |
| 1157 void Call(Label* target); | 1157 void Call(Label* target); |
| 1158 void Call(Address target, RelocInfo::Mode rmode); | 1158 void Call(Address target, RelocInfo::Mode rmode); |
| 1159 void Call(Handle<Code> code, | 1159 void Call(Handle<Code> code, |
| 1160 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 1160 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
| 1161 TypeFeedbackId ast_id = TypeFeedbackId::None()); | 1161 TypeFeedbackId ast_id = TypeFeedbackId::None()); |
| 1162 | 1162 |
| 1163 // For every Call variant, there is a matching CallSize function that returns | 1163 // For every Call variant, there is a matching CallSize function that returns |
| 1164 // the size (in bytes) of the call sequence. | 1164 // the size (in bytes) of the call sequence. |
| (...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2281 #error "Unsupported option" | 2281 #error "Unsupported option" |
| 2282 #define CODE_COVERAGE_STRINGIFY(x) #x | 2282 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2283 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2283 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2284 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2284 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2285 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2285 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2286 #else | 2286 #else |
| 2287 #define ACCESS_MASM(masm) masm-> | 2287 #define ACCESS_MASM(masm) masm-> |
| 2288 #endif | 2288 #endif |
| 2289 | 2289 |
| 2290 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2290 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |