Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 1696043002: [runtime] Unify and simplify how frames are marked (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix merge problems Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 SmiCheck smi_check = INLINE_SMI_CHECK, 321 SmiCheck smi_check = INLINE_SMI_CHECK,
322 PointersToHereCheck pointers_to_here_check_for_value = 322 PointersToHereCheck pointers_to_here_check_for_value =
323 kPointersToHereMaybeInteresting); 323 kPointersToHereMaybeInteresting);
324 324
325 // --------------------------------------------------------------------------- 325 // ---------------------------------------------------------------------------
326 // Debugger Support 326 // Debugger Support
327 327
328 void DebugBreak(); 328 void DebugBreak();
329 329
330 // Generates function and stub prologue code. 330 // Generates function and stub prologue code.
331 void StubPrologue(); 331 void StubPrologue(StackFrame::Type type);
332 void Prologue(bool code_pre_aging); 332 void Prologue(bool code_pre_aging);
333 333
334 // Enter specific kind of exit frame; either in normal or 334 // Enter specific kind of exit frame; either in normal or
335 // debug mode. Expects the number of arguments in register rax and 335 // debug mode. Expects the number of arguments in register rax and
336 // sets up the number of arguments in register rdi and the pointer 336 // sets up the number of arguments in register rdi and the pointer
337 // to the first argument in register rsi. 337 // to the first argument in register rsi.
338 // 338 //
339 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack 339 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack
340 // accessible via StackSpaceOperand. 340 // accessible via StackSpaceOperand.
341 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false); 341 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false);
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 } \ 1759 } \
1760 masm-> 1760 masm->
1761 #else 1761 #else
1762 #define ACCESS_MASM(masm) masm-> 1762 #define ACCESS_MASM(masm) masm->
1763 #endif 1763 #endif
1764 1764
1765 } // namespace internal 1765 } // namespace internal
1766 } // namespace v8 1766 } // namespace v8
1767 1767
1768 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1768 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698