| 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 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 void AssertBoundFunction(Register object); | 1158 void AssertBoundFunction(Register object); |
| 1159 | 1159 |
| 1160 // Abort execution if argument is not a JSGeneratorObject, | 1160 // Abort execution if argument is not a JSGeneratorObject, |
| 1161 // enabled via --debug-code. | 1161 // enabled via --debug-code. |
| 1162 void AssertGeneratorObject(Register object, Register suspend_flags); | 1162 void AssertGeneratorObject(Register object, Register suspend_flags); |
| 1163 | 1163 |
| 1164 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1164 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1165 // via --debug-code. | 1165 // via --debug-code. |
| 1166 void AssertUndefinedOrAllocationSite(Register object); | 1166 void AssertUndefinedOrAllocationSite(Register object); |
| 1167 | 1167 |
| 1168 // Abort if argument is not a valid API call result, enabled via --debug-code. |
| 1169 void AssertApiCallResult(Register object); |
| 1170 |
| 1168 // --------------------------------------------------------------------------- | 1171 // --------------------------------------------------------------------------- |
| 1169 // Exception handling | 1172 // Exception handling |
| 1170 | 1173 |
| 1171 // Push a new stack handler and link it into stack handler chain. | 1174 // Push a new stack handler and link it into stack handler chain. |
| 1172 void PushStackHandler(); | 1175 void PushStackHandler(); |
| 1173 | 1176 |
| 1174 // Unlink the stack handler on top of the stack from the stack handler chain. | 1177 // Unlink the stack handler on top of the stack from the stack handler chain. |
| 1175 void PopStackHandler(); | 1178 void PopStackHandler(); |
| 1176 | 1179 |
| 1177 // --------------------------------------------------------------------------- | 1180 // --------------------------------------------------------------------------- |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1569 inline Operand StackOperandForReturnAddress(int32_t disp) { | 1572 inline Operand StackOperandForReturnAddress(int32_t disp) { |
| 1570 return Operand(rsp, disp); | 1573 return Operand(rsp, disp); |
| 1571 } | 1574 } |
| 1572 | 1575 |
| 1573 #define ACCESS_MASM(masm) masm-> | 1576 #define ACCESS_MASM(masm) masm-> |
| 1574 | 1577 |
| 1575 } // namespace internal | 1578 } // namespace internal |
| 1576 } // namespace v8 | 1579 } // namespace v8 |
| 1577 | 1580 |
| 1578 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1581 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |