OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, | 275 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, |
276 SmiCheck smi_check = INLINE_SMI_CHECK); | 276 SmiCheck smi_check = INLINE_SMI_CHECK); |
277 | 277 |
278 #ifdef ENABLE_DEBUGGER_SUPPORT | 278 #ifdef ENABLE_DEBUGGER_SUPPORT |
279 // --------------------------------------------------------------------------- | 279 // --------------------------------------------------------------------------- |
280 // Debugger Support | 280 // Debugger Support |
281 | 281 |
282 void DebugBreak(); | 282 void DebugBreak(); |
283 #endif | 283 #endif |
284 | 284 |
| 285 // Generates function and stub prologue code. |
| 286 void Prologue(PrologueFrameMode frame_mode); |
| 287 |
285 // Enter specific kind of exit frame; either in normal or | 288 // Enter specific kind of exit frame; either in normal or |
286 // debug mode. Expects the number of arguments in register rax and | 289 // debug mode. Expects the number of arguments in register rax and |
287 // sets up the number of arguments in register rdi and the pointer | 290 // sets up the number of arguments in register rdi and the pointer |
288 // to the first argument in register rsi. | 291 // to the first argument in register rsi. |
289 // | 292 // |
290 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack | 293 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack |
291 // accessible via StackSpaceOperand. | 294 // accessible via StackSpaceOperand. |
292 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false); | 295 void EnterExitFrame(int arg_stack_space = 0, bool save_doubles = false); |
293 | 296 |
294 // Enter specific kind of exit frame. Allocates arg_stack_space * kPointerSize | 297 // Enter specific kind of exit frame. Allocates arg_stack_space * kPointerSize |
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1603 masm->popfq(); \ | 1606 masm->popfq(); \ |
1604 } \ | 1607 } \ |
1605 masm-> | 1608 masm-> |
1606 #else | 1609 #else |
1607 #define ACCESS_MASM(masm) masm-> | 1610 #define ACCESS_MASM(masm) masm-> |
1608 #endif | 1611 #endif |
1609 | 1612 |
1610 } } // namespace v8::internal | 1613 } } // namespace v8::internal |
1611 | 1614 |
1612 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1615 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |