OLD | NEW |
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_IA32_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 // Enter specific kind of exit frame. Expects the number of | 271 // Enter specific kind of exit frame. Expects the number of |
272 // arguments in register eax and sets up the number of arguments in | 272 // arguments in register eax and sets up the number of arguments in |
273 // register edi and the pointer to the first argument in register | 273 // register edi and the pointer to the first argument in register |
274 // esi. | 274 // esi. |
275 void EnterExitFrame(bool save_doubles); | 275 void EnterExitFrame(bool save_doubles); |
276 | 276 |
277 void EnterApiExitFrame(int argc); | 277 void EnterApiExitFrame(int argc); |
278 | 278 |
279 // Leave the current exit frame. Expects the return value in | 279 // Leave the current exit frame. Expects the return value in |
280 // register eax:edx (untouched) and the pointer to the first | 280 // register eax:edx (untouched) and the pointer to the first |
281 // argument in register esi (if pop_arguments == true). | 281 // argument in register esi. |
282 void LeaveExitFrame(bool save_doubles, bool pop_arguments = true); | 282 void LeaveExitFrame(bool save_doubles); |
283 | 283 |
284 // Leave the current exit frame. Expects the return value in | 284 // Leave the current exit frame. Expects the return value in |
285 // register eax (untouched). | 285 // register eax (untouched). |
286 void LeaveApiExitFrame(bool restore_context); | 286 void LeaveApiExitFrame(bool restore_context); |
287 | 287 |
288 // Find the function context up the context chain. | 288 // Find the function context up the context chain. |
289 void LoadContext(Register dst, int context_chain_length); | 289 void LoadContext(Register dst, int context_chain_length); |
290 | 290 |
291 // Load the global proxy from the current context. | 291 // Load the global proxy from the current context. |
292 void LoadGlobalProxy(Register dst); | 292 void LoadGlobalProxy(Register dst); |
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 masm-> | 1126 masm-> |
1127 #else | 1127 #else |
1128 #define ACCESS_MASM(masm) masm-> | 1128 #define ACCESS_MASM(masm) masm-> |
1129 #endif | 1129 #endif |
1130 | 1130 |
1131 | 1131 |
1132 } // namespace internal | 1132 } // namespace internal |
1133 } // namespace v8 | 1133 } // namespace v8 |
1134 | 1134 |
1135 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1135 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |