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 // --------------------------------------------------------------------------- | 231 // Frame restart support |
232 // Debugger Support | |
233 | |
234 void DebugBreak(); | |
235 void MaybeDropFrames(); | 232 void MaybeDropFrames(); |
236 | 233 |
237 // Generates function and stub prologue code. | 234 // Generates function and stub prologue code. |
238 void StubPrologue(StackFrame::Type type); | 235 void StubPrologue(StackFrame::Type type); |
239 void Prologue(bool code_pre_aging); | 236 void Prologue(bool code_pre_aging); |
240 | 237 |
241 // Enter specific kind of exit frame. Expects the number of | 238 // Enter specific kind of exit frame. Expects the number of |
242 // arguments in register eax and sets up the number of arguments in | 239 // arguments in register eax and sets up the number of arguments in |
243 // register edi and the pointer to the first argument in register | 240 // register edi and the pointer to the first argument in register |
244 // esi. | 241 // esi. |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 inline Operand NativeContextOperand() { | 975 inline Operand NativeContextOperand() { |
979 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); | 976 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
980 } | 977 } |
981 | 978 |
982 #define ACCESS_MASM(masm) masm-> | 979 #define ACCESS_MASM(masm) masm-> |
983 | 980 |
984 } // namespace internal | 981 } // namespace internal |
985 } // namespace v8 | 982 } // namespace v8 |
986 | 983 |
987 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 984 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |