| 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/bailout-reason.h" | 8 #include "src/bailout-reason.h" |
| 9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1142 } | 1142 } |
| 1143 } | 1143 } |
| 1144 | 1144 |
| 1145 // Abort execution if argument is a smi, enabled via --debug-code. | 1145 // Abort execution if argument is a smi, enabled via --debug-code. |
| 1146 void AssertNotSmi(Register object); | 1146 void AssertNotSmi(Register object); |
| 1147 | 1147 |
| 1148 // Abort execution if argument is not a smi, enabled via --debug-code. | 1148 // Abort execution if argument is not a smi, enabled via --debug-code. |
| 1149 void AssertSmi(Register object); | 1149 void AssertSmi(Register object); |
| 1150 void AssertSmi(const Operand& object); | 1150 void AssertSmi(const Operand& object); |
| 1151 | 1151 |
| 1152 // Abort execution if argument is not a FixedArray, enabled via --debug-code. |
| 1153 void AssertFixedArray(Register object); |
| 1154 |
| 1152 // Abort execution if a 64 bit register containing a 32 bit payload does not | 1155 // Abort execution if a 64 bit register containing a 32 bit payload does not |
| 1153 // have zeros in the top 32 bits, enabled via --debug-code. | 1156 // have zeros in the top 32 bits, enabled via --debug-code. |
| 1154 void AssertZeroExtended(Register reg); | 1157 void AssertZeroExtended(Register reg); |
| 1155 | 1158 |
| 1156 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1159 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
| 1157 void AssertFunction(Register object); | 1160 void AssertFunction(Register object); |
| 1158 | 1161 |
| 1159 // Abort execution if argument is not a JSBoundFunction, | 1162 // Abort execution if argument is not a JSBoundFunction, |
| 1160 // enabled via --debug-code. | 1163 // enabled via --debug-code. |
| 1161 void AssertBoundFunction(Register object); | 1164 void AssertBoundFunction(Register object); |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 inline Operand StackOperandForReturnAddress(int32_t disp) { | 1575 inline Operand StackOperandForReturnAddress(int32_t disp) { |
| 1573 return Operand(rsp, disp); | 1576 return Operand(rsp, disp); |
| 1574 } | 1577 } |
| 1575 | 1578 |
| 1576 #define ACCESS_MASM(masm) masm-> | 1579 #define ACCESS_MASM(masm) masm-> |
| 1577 | 1580 |
| 1578 } // namespace internal | 1581 } // namespace internal |
| 1579 } // namespace v8 | 1582 } // namespace v8 |
| 1580 | 1583 |
| 1581 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1584 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |