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 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 int num_double_arguments); | 1132 int num_double_arguments); |
1133 | 1133 |
1134 // Jump to a runtime routine. | 1134 // Jump to a runtime routine. |
1135 void JumpToExternalReference(const ExternalReference& builtin); | 1135 void JumpToExternalReference(const ExternalReference& builtin); |
1136 | 1136 |
1137 // Convenience function: call an external reference. | 1137 // Convenience function: call an external reference. |
1138 void CallExternalReference(const ExternalReference& ext, | 1138 void CallExternalReference(const ExternalReference& ext, |
1139 int num_arguments); | 1139 int num_arguments); |
1140 | 1140 |
1141 | 1141 |
1142 // Invoke specified builtin JavaScript function. | |
1143 void InvokeBuiltin(int native_context_index, InvokeFlag flag, | |
1144 const CallWrapper& call_wrapper = NullCallWrapper()); | |
1145 | |
1146 void Jump(Register target); | 1142 void Jump(Register target); |
1147 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); | 1143 void Jump(Address target, RelocInfo::Mode rmode, Condition cond = al); |
1148 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); | 1144 void Jump(Handle<Code> code, RelocInfo::Mode rmode, Condition cond = al); |
1149 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); | 1145 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
1150 | 1146 |
1151 void Call(Register target); | 1147 void Call(Register target); |
1152 void Call(Label* target); | 1148 void Call(Label* target); |
1153 void Call(Address target, RelocInfo::Mode rmode); | 1149 void Call(Address target, RelocInfo::Mode rmode); |
1154 void Call(Handle<Code> code, | 1150 void Call(Handle<Code> code, |
1155 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 1151 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2253 #error "Unsupported option" | 2249 #error "Unsupported option" |
2254 #define CODE_COVERAGE_STRINGIFY(x) #x | 2250 #define CODE_COVERAGE_STRINGIFY(x) #x |
2255 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2251 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2256 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2252 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2257 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2253 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2258 #else | 2254 #else |
2259 #define ACCESS_MASM(masm) masm-> | 2255 #define ACCESS_MASM(masm) masm-> |
2260 #endif | 2256 #endif |
2261 | 2257 |
2262 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2258 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |