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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 // JSFunction. Only scratch is clobbered by the operation. | 221 // JSFunction. Only scratch is clobbered by the operation. |
222 void RecordWriteCodeEntryField(Register js_function, Register code_entry, | 222 void RecordWriteCodeEntryField(Register js_function, Register code_entry, |
223 Register scratch); | 223 Register scratch); |
224 | 224 |
225 // For page containing |object| mark the region covering the object's map | 225 // For page containing |object| mark the region covering the object's map |
226 // dirty. |object| is the object being stored into, |map| is the Map object | 226 // dirty. |object| is the object being stored into, |map| is the Map object |
227 // that was stored. | 227 // that was stored. |
228 void RecordWriteForMap(Register object, Handle<Map> map, Register scratch1, | 228 void RecordWriteForMap(Register object, Handle<Map> map, Register scratch1, |
229 Register scratch2, SaveFPRegsMode save_fp); | 229 Register scratch2, SaveFPRegsMode save_fp); |
230 | 230 |
231 // --------------------------------------------------------------------------- | |
232 // Debugger Support | |
233 | |
234 void DebugBreak(); | |
235 | |
236 // Generates function and stub prologue code. | 231 // Generates function and stub prologue code. |
237 void StubPrologue(StackFrame::Type type); | 232 void StubPrologue(StackFrame::Type type); |
238 void Prologue(bool code_pre_aging); | 233 void Prologue(bool code_pre_aging); |
239 | 234 |
240 // Enter specific kind of exit frame. Expects the number of | 235 // Enter specific kind of exit frame. Expects the number of |
241 // arguments in register eax and sets up the number of arguments in | 236 // arguments in register eax and sets up the number of arguments in |
242 // register edi and the pointer to the first argument in register | 237 // register edi and the pointer to the first argument in register |
243 // esi. | 238 // esi. |
244 void EnterExitFrame(int argc, bool save_doubles, StackFrame::Type frame_type); | 239 void EnterExitFrame(int argc, bool save_doubles, StackFrame::Type frame_type); |
245 | 240 |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 inline Operand NativeContextOperand() { | 980 inline Operand NativeContextOperand() { |
986 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); | 981 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
987 } | 982 } |
988 | 983 |
989 #define ACCESS_MASM(masm) masm-> | 984 #define ACCESS_MASM(masm) masm-> |
990 | 985 |
991 } // namespace internal | 986 } // namespace internal |
992 } // namespace v8 | 987 } // namespace v8 |
993 | 988 |
994 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 989 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |