| 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 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 void AssertGeneratorObject(Register object, Register suspend_flags); | 1002 void AssertGeneratorObject(Register object, Register suspend_flags); |
| 1003 | 1003 |
| 1004 // Abort execution if argument is not a JSBoundFunction, | 1004 // Abort execution if argument is not a JSBoundFunction, |
| 1005 // enabled via --debug-code. | 1005 // enabled via --debug-code. |
| 1006 void AssertBoundFunction(Register object); | 1006 void AssertBoundFunction(Register object); |
| 1007 | 1007 |
| 1008 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1008 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1009 // via --debug-code. | 1009 // via --debug-code. |
| 1010 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1010 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 1011 | 1011 |
| 1012 // Abort if argument is not a valid API call result, enabled via --debug-code. |
| 1013 void AssertApiCallResult(Register object); |
| 1014 |
| 1012 // Abort execution if argument is not a positive or zero integer, enabled via | 1015 // Abort execution if argument is not a positive or zero integer, enabled via |
| 1013 // --debug-code. | 1016 // --debug-code. |
| 1014 void AssertPositiveOrZero(Register value); | 1017 void AssertPositiveOrZero(Register value); |
| 1015 | 1018 |
| 1016 void JumpIfHeapNumber(Register object, Label* on_heap_number, | 1019 void JumpIfHeapNumber(Register object, Label* on_heap_number, |
| 1017 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); | 1020 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); |
| 1018 void JumpIfNotHeapNumber(Register object, Label* on_not_heap_number, | 1021 void JumpIfNotHeapNumber(Register object, Label* on_not_heap_number, |
| 1019 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); | 1022 SmiCheckType smi_check_type = DONT_DO_SMI_CHECK); |
| 1020 | 1023 |
| 1021 // Sets the vs flag if the input is -0.0. | 1024 // Sets the vs flag if the input is -0.0. |
| (...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2127 class RegisterBits : public BitField<unsigned, 0, 5> {}; | 2130 class RegisterBits : public BitField<unsigned, 0, 5> {}; |
| 2128 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; | 2131 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; |
| 2129 }; | 2132 }; |
| 2130 | 2133 |
| 2131 } // namespace internal | 2134 } // namespace internal |
| 2132 } // namespace v8 | 2135 } // namespace v8 |
| 2133 | 2136 |
| 2134 #define ACCESS_MASM(masm) masm-> | 2137 #define ACCESS_MASM(masm) masm-> |
| 2135 | 2138 |
| 2136 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2139 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |