| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 // operation. RecordWrite filters out smis so it does not update | 284 // operation. RecordWrite filters out smis so it does not update |
| 285 // the write barrier if the value is a smi. | 285 // the write barrier if the value is a smi. |
| 286 void RecordWrite( | 286 void RecordWrite( |
| 287 Register object, | 287 Register object, |
| 288 Register address, | 288 Register address, |
| 289 Register value, | 289 Register value, |
| 290 SaveFPRegsMode save_fp, | 290 SaveFPRegsMode save_fp, |
| 291 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, | 291 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, |
| 292 SmiCheck smi_check = INLINE_SMI_CHECK); | 292 SmiCheck smi_check = INLINE_SMI_CHECK); |
| 293 | 293 |
| 294 #ifdef ENABLE_DEBUGGER_SUPPORT | |
| 295 // --------------------------------------------------------------------------- | 294 // --------------------------------------------------------------------------- |
| 296 // Debugger Support | 295 // Debugger Support |
| 297 | 296 |
| 298 void DebugBreak(); | 297 void DebugBreak(); |
| 299 #endif | |
| 300 | 298 |
| 301 // Generates function and stub prologue code. | 299 // Generates function and stub prologue code. |
| 302 void Prologue(PrologueFrameMode frame_mode); | 300 void Prologue(PrologueFrameMode frame_mode); |
| 303 | 301 |
| 304 // Enter specific kind of exit frame; either in normal or | 302 // Enter specific kind of exit frame; either in normal or |
| 305 // debug mode. Expects the number of arguments in register rax and | 303 // debug mode. Expects the number of arguments in register rax and |
| 306 // sets up the number of arguments in register rdi and the pointer | 304 // sets up the number of arguments in register rdi and the pointer |
| 307 // to the first argument in register rsi. | 305 // to the first argument in register rsi. |
| 308 // | 306 // |
| 309 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack | 307 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack |
| (...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1617 masm->popfq(); \ | 1615 masm->popfq(); \ |
| 1618 } \ | 1616 } \ |
| 1619 masm-> | 1617 masm-> |
| 1620 #else | 1618 #else |
| 1621 #define ACCESS_MASM(masm) masm-> | 1619 #define ACCESS_MASM(masm) masm-> |
| 1622 #endif | 1620 #endif |
| 1623 | 1621 |
| 1624 } } // namespace v8::internal | 1622 } } // namespace v8::internal |
| 1625 | 1623 |
| 1626 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1624 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |