OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 // Enter specific kind of exit frame; either EXIT or | 92 // Enter specific kind of exit frame; either EXIT or |
93 // EXIT_DEBUG. Expects the number of arguments in register eax and | 93 // EXIT_DEBUG. Expects the number of arguments in register eax and |
94 // sets up the number of arguments in register edi and the pointer | 94 // sets up the number of arguments in register edi and the pointer |
95 // to the first argument in register esi. | 95 // to the first argument in register esi. |
96 void EnterExitFrame(StackFrame::Type type); | 96 void EnterExitFrame(StackFrame::Type type); |
97 | 97 |
98 // Leave the current exit frame. Expects the return value in | 98 // Leave the current exit frame. Expects the return value in |
99 // register eax:edx (untouched) and the pointer to the first | 99 // register eax:edx (untouched) and the pointer to the first |
100 // argument in register esi. | 100 // argument in register esi. |
101 void LeaveExitFrame(); | 101 void LeaveExitFrame(StackFrame::Type type); |
102 | 102 |
103 | 103 |
104 // --------------------------------------------------------------------------- | 104 // --------------------------------------------------------------------------- |
105 // JavaScript invokes | 105 // JavaScript invokes |
106 | 106 |
107 // Invoke the JavaScript function code by either calling or jumping. | 107 // Invoke the JavaScript function code by either calling or jumping. |
108 void InvokeCode(const Operand& code, | 108 void InvokeCode(const Operand& code, |
109 const ParameterCount& expected, | 109 const ParameterCount& expected, |
110 const ParameterCount& actual, | 110 const ParameterCount& actual, |
111 InvokeFlag flag); | 111 InvokeFlag flag); |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 Register index, | 300 Register index, |
301 ScaleFactor scale, | 301 ScaleFactor scale, |
302 int offset) { | 302 int offset) { |
303 return Operand(object, index, scale, offset - kHeapObjectTag); | 303 return Operand(object, index, scale, offset - kHeapObjectTag); |
304 } | 304 } |
305 | 305 |
306 | 306 |
307 } } // namespace v8::internal | 307 } } // namespace v8::internal |
308 | 308 |
309 #endif // V8_MACRO_ASSEMBLER_IA32_H_ | 309 #endif // V8_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |