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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 Register scratch2, | 218 Register scratch2, |
219 SaveFPRegsMode save_fp); | 219 SaveFPRegsMode save_fp); |
220 | 220 |
221 #ifdef ENABLE_DEBUGGER_SUPPORT | 221 #ifdef ENABLE_DEBUGGER_SUPPORT |
222 // --------------------------------------------------------------------------- | 222 // --------------------------------------------------------------------------- |
223 // Debugger Support | 223 // Debugger Support |
224 | 224 |
225 void DebugBreak(); | 225 void DebugBreak(); |
226 #endif | 226 #endif |
227 | 227 |
| 228 // Generates function and stub prologue code. |
| 229 void Prologue(PrologueFrameMode frame_mode); |
| 230 |
228 // Enter specific kind of exit frame. Expects the number of | 231 // Enter specific kind of exit frame. Expects the number of |
229 // arguments in register eax and sets up the number of arguments in | 232 // arguments in register eax and sets up the number of arguments in |
230 // register edi and the pointer to the first argument in register | 233 // register edi and the pointer to the first argument in register |
231 // esi. | 234 // esi. |
232 void EnterExitFrame(bool save_doubles); | 235 void EnterExitFrame(bool save_doubles); |
233 | 236 |
234 void EnterApiExitFrame(int argc); | 237 void EnterApiExitFrame(int argc); |
235 | 238 |
236 // Leave the current exit frame. Expects the return value in | 239 // Leave the current exit frame. Expects the return value in |
237 // register eax:edx (untouched) and the pointer to the first | 240 // register eax:edx (untouched) and the pointer to the first |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1111 } \ | 1114 } \ |
1112 masm-> | 1115 masm-> |
1113 #else | 1116 #else |
1114 #define ACCESS_MASM(masm) masm-> | 1117 #define ACCESS_MASM(masm) masm-> |
1115 #endif | 1118 #endif |
1116 | 1119 |
1117 | 1120 |
1118 } } // namespace v8::internal | 1121 } } // namespace v8::internal |
1119 | 1122 |
1120 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1123 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |