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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 void RecordWrite( | 316 void RecordWrite( |
317 Register object, | 317 Register object, |
318 Register address, | 318 Register address, |
319 Register value, | 319 Register value, |
320 SaveFPRegsMode save_fp, | 320 SaveFPRegsMode save_fp, |
321 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, | 321 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, |
322 SmiCheck smi_check = INLINE_SMI_CHECK, | 322 SmiCheck smi_check = INLINE_SMI_CHECK, |
323 PointersToHereCheck pointers_to_here_check_for_value = | 323 PointersToHereCheck pointers_to_here_check_for_value = |
324 kPointersToHereMaybeInteresting); | 324 kPointersToHereMaybeInteresting); |
325 | 325 |
326 // --------------------------------------------------------------------------- | 326 // Frame restart support. |
327 // Debugger Support | |
328 | |
329 void DebugBreak(); | |
330 void MaybeDropFrames(); | 327 void MaybeDropFrames(); |
331 | 328 |
332 // Generates function and stub prologue code. | 329 // Generates function and stub prologue code. |
333 void StubPrologue(StackFrame::Type type); | 330 void StubPrologue(StackFrame::Type type); |
334 void Prologue(bool code_pre_aging); | 331 void Prologue(bool code_pre_aging); |
335 | 332 |
336 // Enter specific kind of exit frame; either in normal or | 333 // Enter specific kind of exit frame; either in normal or |
337 // debug mode. Expects the number of arguments in register rax and | 334 // debug mode. Expects the number of arguments in register rax and |
338 // sets up the number of arguments in register rdi and the pointer | 335 // sets up the number of arguments in register rdi and the pointer |
339 // to the first argument in register rsi. | 336 // to the first argument in register rsi. |
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1681 inline Operand StackOperandForReturnAddress(int32_t disp) { | 1678 inline Operand StackOperandForReturnAddress(int32_t disp) { |
1682 return Operand(rsp, disp); | 1679 return Operand(rsp, disp); |
1683 } | 1680 } |
1684 | 1681 |
1685 #define ACCESS_MASM(masm) masm-> | 1682 #define ACCESS_MASM(masm) masm-> |
1686 | 1683 |
1687 } // namespace internal | 1684 } // namespace internal |
1688 } // namespace v8 | 1685 } // namespace v8 |
1689 | 1686 |
1690 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1687 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |