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/globals.h" | 10 #include "src/globals.h" |
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1067 void JumpIfEitherInstanceTypeIsNotSequentialOneByte( | 1067 void JumpIfEitherInstanceTypeIsNotSequentialOneByte( |
1068 Register first_object_instance_type, Register second_object_instance_type, | 1068 Register first_object_instance_type, Register second_object_instance_type, |
1069 Register scratch1, Register scratch2, Label* failure); | 1069 Register scratch1, Register scratch2, Label* failure); |
1070 | 1070 |
1071 // Checks if both instance types are sequential one-byte strings and jumps to | 1071 // Checks if both instance types are sequential one-byte strings and jumps to |
1072 // label if either is not. | 1072 // label if either is not. |
1073 void JumpIfBothInstanceTypesAreNotSequentialOneByte( | 1073 void JumpIfBothInstanceTypesAreNotSequentialOneByte( |
1074 Register first_object_instance_type, Register second_object_instance_type, | 1074 Register first_object_instance_type, Register second_object_instance_type, |
1075 Register scratch1, Register scratch2, Label* failure); | 1075 Register scratch1, Register scratch2, Label* failure); |
1076 | 1076 |
1077 void JumpIfNotUniqueName(Register type, Label* not_unique_name); | 1077 void JumpIfNotUniqueNameInstanceType(Register type, Label* not_unique_name); |
1078 | 1078 |
1079 // ---- Calling / Jumping helpers ---- | 1079 // ---- Calling / Jumping helpers ---- |
1080 | 1080 |
1081 // This is required for compatibility in architecture indepenedant code. | 1081 // This is required for compatibility in architecture indepenedant code. |
1082 inline void jmp(Label* L) { B(L); } | 1082 inline void jmp(Label* L) { B(L); } |
1083 | 1083 |
1084 // Passes thrown value to the handler of top of the try handler chain. | 1084 // Passes thrown value to the handler of top of the try handler chain. |
1085 // Register value must be x0. | 1085 // Register value must be x0. |
1086 void Throw(Register value, | 1086 void Throw(Register value, |
1087 Register scratch1, | 1087 Register scratch1, |
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2332 #error "Unsupported option" | 2332 #error "Unsupported option" |
2333 #define CODE_COVERAGE_STRINGIFY(x) #x | 2333 #define CODE_COVERAGE_STRINGIFY(x) #x |
2334 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2334 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2335 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2335 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2336 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2336 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2337 #else | 2337 #else |
2338 #define ACCESS_MASM(masm) masm-> | 2338 #define ACCESS_MASM(masm) masm-> |
2339 #endif | 2339 #endif |
2340 | 2340 |
2341 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2341 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |