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

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

Issue 288213002: Refactor MacroAssembler::Prologue. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comment Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "assembler.h" 8 #include "assembler.h"
9 #include "frames.h" 9 #include "frames.h"
10 #include "v8globals.h" 10 #include "v8globals.h"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 SaveFPRegsMode save_fp, 267 SaveFPRegsMode save_fp,
268 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, 268 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET,
269 SmiCheck smi_check = INLINE_SMI_CHECK); 269 SmiCheck smi_check = INLINE_SMI_CHECK);
270 270
271 // --------------------------------------------------------------------------- 271 // ---------------------------------------------------------------------------
272 // Debugger Support 272 // Debugger Support
273 273
274 void DebugBreak(); 274 void DebugBreak();
275 275
276 // Generates function and stub prologue code. 276 // Generates function and stub prologue code.
277 void Prologue(CompilationInfo* info); 277 void StubPrologue();
278 void Prologue(bool code_pre_aging);
278 279
279 // Enter specific kind of exit frame; either in normal or 280 // Enter specific kind of exit frame; either in normal or
280 // debug mode. Expects the number of arguments in register rax and 281 // debug mode. Expects the number of arguments in register rax and
281 // sets up the number of arguments in register rdi and the pointer 282 // sets up the number of arguments in register rdi and the pointer
282 // to the first argument in register rsi. 283 // to the first argument in register rsi.
283 // 284 //
284 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack 285 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack
285 // accessible via StackSpaceOperand. 286 // accessible via StackSpaceOperand.
286 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false); 287 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false);
287 288
(...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 masm->popfq(); \ 1595 masm->popfq(); \
1595 } \ 1596 } \
1596 masm-> 1597 masm->
1597 #else 1598 #else
1598 #define ACCESS_MASM(masm) masm-> 1599 #define ACCESS_MASM(masm) masm->
1599 #endif 1600 #endif
1600 1601
1601 } } // namespace v8::internal 1602 } } // namespace v8::internal
1602 1603
1603 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1604 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698