| 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 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1136 | 1136 |
| 1137 // Store the code object for the given builtin in the target register and | 1137 // Store the code object for the given builtin in the target register and |
| 1138 // setup the function in the function register. | 1138 // setup the function in the function register. |
| 1139 void GetBuiltinEntry(Register target, | 1139 void GetBuiltinEntry(Register target, |
| 1140 Register function, | 1140 Register function, |
| 1141 Builtins::JavaScript id); | 1141 Builtins::JavaScript id); |
| 1142 | 1142 |
| 1143 // Store the function for the given builtin in the target register. | 1143 // Store the function for the given builtin in the target register. |
| 1144 void GetBuiltinFunction(Register target, Builtins::JavaScript id); | 1144 void GetBuiltinFunction(Register target, Builtins::JavaScript id); |
| 1145 | 1145 |
| 1146 void BranchIfNotBuiltin(Register function, Register temp, | |
| 1147 BuiltinFunctionId id, Label* miss); | |
| 1148 | |
| 1149 void Jump(Register target); | 1146 void Jump(Register target); |
| 1150 void Jump(Address target, RelocInfo::Mode rmode); | 1147 void Jump(Address target, RelocInfo::Mode rmode); |
| 1151 void Jump(Handle<Code> code, RelocInfo::Mode rmode); | 1148 void Jump(Handle<Code> code, RelocInfo::Mode rmode); |
| 1152 void Jump(intptr_t target, RelocInfo::Mode rmode); | 1149 void Jump(intptr_t target, RelocInfo::Mode rmode); |
| 1153 | 1150 |
| 1154 void Call(Register target); | 1151 void Call(Register target); |
| 1155 void Call(Label* target); | 1152 void Call(Label* target); |
| 1156 void Call(Address target, RelocInfo::Mode rmode); | 1153 void Call(Address target, RelocInfo::Mode rmode); |
| 1157 void Call(Handle<Code> code, | 1154 void Call(Handle<Code> code, |
| 1158 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, | 1155 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
| (...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 #error "Unsupported option" | 2298 #error "Unsupported option" |
| 2302 #define CODE_COVERAGE_STRINGIFY(x) #x | 2299 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2303 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2300 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2304 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2301 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2305 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2302 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2306 #else | 2303 #else |
| 2307 #define ACCESS_MASM(masm) masm-> | 2304 #define ACCESS_MASM(masm) masm-> |
| 2308 #endif | 2305 #endif |
| 2309 | 2306 |
| 2310 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2307 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |