| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 | 885 |
| 886 // Checks if both instance types are sequential ASCII strings and jumps to | 886 // Checks if both instance types are sequential ASCII strings and jumps to |
| 887 // label if either is not. | 887 // label if either is not. |
| 888 void JumpIfBothInstanceTypesAreNotSequentialAscii( | 888 void JumpIfBothInstanceTypesAreNotSequentialAscii( |
| 889 Register first_object_instance_type, | 889 Register first_object_instance_type, |
| 890 Register second_object_instance_type, | 890 Register second_object_instance_type, |
| 891 Register scratch1, | 891 Register scratch1, |
| 892 Register scratch2, | 892 Register scratch2, |
| 893 Label* failure); | 893 Label* failure); |
| 894 | 894 |
| 895 void JumpIfNotUniqueName(Register type, Label* not_unique_name); |
| 896 |
| 895 // ---- Calling / Jumping helpers ---- | 897 // ---- Calling / Jumping helpers ---- |
| 896 | 898 |
| 897 // This is required for compatibility in architecture indepenedant code. | 899 // This is required for compatibility in architecture indepenedant code. |
| 898 inline void jmp(Label* L) { B(L); } | 900 inline void jmp(Label* L) { B(L); } |
| 899 | 901 |
| 900 // Passes thrown value to the handler of top of the try handler chain. | 902 // Passes thrown value to the handler of top of the try handler chain. |
| 901 // Register value must be x0. | 903 // Register value must be x0. |
| 902 void Throw(Register value, | 904 void Throw(Register value, |
| 903 Register scratch1, | 905 Register scratch1, |
| 904 Register scratch2, | 906 Register scratch2, |
| (...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2108 #error "Unsupported option" | 2110 #error "Unsupported option" |
| 2109 #define CODE_COVERAGE_STRINGIFY(x) #x | 2111 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2110 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2112 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2111 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2113 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2112 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2114 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2113 #else | 2115 #else |
| 2114 #define ACCESS_MASM(masm) masm-> | 2116 #define ACCESS_MASM(masm) masm-> |
| 2115 #endif | 2117 #endif |
| 2116 | 2118 |
| 2117 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2119 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |