| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
| 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/base/flags.h" | 10 #include "src/base/flags.h" |
| (...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1195 | 1195 |
| 1196 // Abort execution if argument is not a string, enabled via --debug-code. | 1196 // Abort execution if argument is not a string, enabled via --debug-code. |
| 1197 void AssertString(Register object); | 1197 void AssertString(Register object); |
| 1198 | 1198 |
| 1199 // Abort execution if argument is not a name, enabled via --debug-code. | 1199 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1200 void AssertName(Register object); | 1200 void AssertName(Register object); |
| 1201 | 1201 |
| 1202 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1202 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
| 1203 void AssertFunction(Register object); | 1203 void AssertFunction(Register object); |
| 1204 | 1204 |
| 1205 // Abort execution if argument is not a JSBoundFunction, | |
| 1206 // enabled via --debug-code. | |
| 1207 void AssertBoundFunction(Register object); | |
| 1208 | |
| 1209 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1205 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1210 // via --debug-code. | 1206 // via --debug-code. |
| 1211 void AssertUndefinedOrAllocationSite(Register object); | 1207 void AssertUndefinedOrAllocationSite(Register object); |
| 1212 | 1208 |
| 1213 // Abort execution if argument is not the root value with the given index, | 1209 // Abort execution if argument is not the root value with the given index, |
| 1214 // enabled via --debug-code. | 1210 // enabled via --debug-code. |
| 1215 void AssertRootValue(Register src, | 1211 void AssertRootValue(Register src, |
| 1216 Heap::RootListIndex root_value_index, | 1212 Heap::RootListIndex root_value_index, |
| 1217 BailoutReason reason); | 1213 BailoutReason reason); |
| 1218 | 1214 |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1739 } \ | 1735 } \ |
| 1740 masm-> | 1736 masm-> |
| 1741 #else | 1737 #else |
| 1742 #define ACCESS_MASM(masm) masm-> | 1738 #define ACCESS_MASM(masm) masm-> |
| 1743 #endif | 1739 #endif |
| 1744 | 1740 |
| 1745 } // namespace internal | 1741 } // namespace internal |
| 1746 } // namespace v8 | 1742 } // namespace v8 |
| 1747 | 1743 |
| 1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1744 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |