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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 SmiCheck smi_check = INLINE_SMI_CHECK, | 319 SmiCheck smi_check = INLINE_SMI_CHECK, |
320 PointersToHereCheck pointers_to_here_check_for_value = | 320 PointersToHereCheck pointers_to_here_check_for_value = |
321 kPointersToHereMaybeInteresting); | 321 kPointersToHereMaybeInteresting); |
322 | 322 |
323 // --------------------------------------------------------------------------- | 323 // --------------------------------------------------------------------------- |
324 // Debugger Support | 324 // Debugger Support |
325 | 325 |
326 void DebugBreak(); | 326 void DebugBreak(); |
327 | 327 |
328 // Generates function and stub prologue code. | 328 // Generates function and stub prologue code. |
329 void StubPrologue(); | 329 void StubPrologue(StackFrame::Type type); |
330 void Prologue(bool code_pre_aging); | 330 void Prologue(bool code_pre_aging); |
331 | 331 |
332 // Enter specific kind of exit frame; either in normal or | 332 // Enter specific kind of exit frame; either in normal or |
333 // debug mode. Expects the number of arguments in register rax and | 333 // debug mode. Expects the number of arguments in register rax and |
334 // sets up the number of arguments in register rdi and the pointer | 334 // sets up the number of arguments in register rdi and the pointer |
335 // to the first argument in register rsi. | 335 // to the first argument in register rsi. |
336 // | 336 // |
337 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack | 337 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack |
338 // accessible via StackSpaceOperand. | 338 // accessible via StackSpaceOperand. |
339 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false); | 339 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false); |
(...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1753 } \ | 1753 } \ |
1754 masm-> | 1754 masm-> |
1755 #else | 1755 #else |
1756 #define ACCESS_MASM(masm) masm-> | 1756 #define ACCESS_MASM(masm) masm-> |
1757 #endif | 1757 #endif |
1758 | 1758 |
1759 } // namespace internal | 1759 } // namespace internal |
1760 } // namespace v8 | 1760 } // namespace v8 |
1761 | 1761 |
1762 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1762 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |