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(bool is_stub); |
| 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 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1592 masm->popfq(); \ | 1595 masm->popfq(); \ |
1593 } \ | 1596 } \ |
1594 masm-> | 1597 masm-> |
1595 #else | 1598 #else |
1596 #define ACCESS_MASM(masm) masm-> | 1599 #define ACCESS_MASM(masm) masm-> |
1597 #endif | 1600 #endif |
1598 | 1601 |
1599 } } // namespace v8::internal | 1602 } } // namespace v8::internal |
1600 | 1603 |
1601 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1604 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |