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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 // Enter specific kind of exit frame. Expects the number of | 248 // Enter specific kind of exit frame. Expects the number of |
249 // arguments in register eax and sets up the number of arguments in | 249 // arguments in register eax and sets up the number of arguments in |
250 // register edi and the pointer to the first argument in register | 250 // register edi and the pointer to the first argument in register |
251 // esi. | 251 // esi. |
252 void EnterExitFrame(bool save_doubles); | 252 void EnterExitFrame(bool save_doubles); |
253 | 253 |
254 void EnterApiExitFrame(int argc); | 254 void EnterApiExitFrame(int argc); |
255 | 255 |
256 // Leave the current exit frame. Expects the return value in | 256 // Leave the current exit frame. Expects the return value in |
257 // register eax:edx (untouched) and the pointer to the first | 257 // register eax:edx (untouched) and the pointer to the first |
258 // argument in register esi. | 258 // argument in register esi (if pop_arguments == true). |
259 void LeaveExitFrame(bool save_doubles); | 259 void LeaveExitFrame(bool save_doubles, bool pop_arguments = true); |
260 | 260 |
261 // Leave the current exit frame. Expects the return value in | 261 // Leave the current exit frame. Expects the return value in |
262 // register eax (untouched). | 262 // register eax (untouched). |
263 void LeaveApiExitFrame(bool restore_context); | 263 void LeaveApiExitFrame(bool restore_context); |
264 | 264 |
265 // Find the function context up the context chain. | 265 // Find the function context up the context chain. |
266 void LoadContext(Register dst, int context_chain_length); | 266 void LoadContext(Register dst, int context_chain_length); |
267 | 267 |
268 // Load the global proxy from the current context. | 268 // Load the global proxy from the current context. |
269 void LoadGlobalProxy(Register dst); | 269 void LoadGlobalProxy(Register dst); |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 masm-> | 1079 masm-> |
1080 #else | 1080 #else |
1081 #define ACCESS_MASM(masm) masm-> | 1081 #define ACCESS_MASM(masm) masm-> |
1082 #endif | 1082 #endif |
1083 | 1083 |
1084 | 1084 |
1085 } // namespace internal | 1085 } // namespace internal |
1086 } // namespace v8 | 1086 } // namespace v8 |
1087 | 1087 |
1088 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1088 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |