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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // --------------------------------------------------------------------------- |
232 // Debugger Support | 232 // Debugger Support |
233 | 233 |
234 void DebugBreak(); | 234 void DebugBreak(); |
| 235 void MaybeDropFrames(); |
235 | 236 |
236 // Generates function and stub prologue code. | 237 // Generates function and stub prologue code. |
237 void StubPrologue(StackFrame::Type type); | 238 void StubPrologue(StackFrame::Type type); |
238 void Prologue(bool code_pre_aging); | 239 void Prologue(bool code_pre_aging); |
239 | 240 |
240 // Enter specific kind of exit frame. Expects the number of | 241 // Enter specific kind of exit frame. Expects the number of |
241 // arguments in register eax and sets up the number of arguments in | 242 // arguments in register eax and sets up the number of arguments in |
242 // register edi and the pointer to the first argument in register | 243 // register edi and the pointer to the first argument in register |
243 // esi. | 244 // esi. |
244 void EnterExitFrame(int argc, bool save_doubles, StackFrame::Type frame_type); | 245 void EnterExitFrame(int argc, bool save_doubles, StackFrame::Type frame_type); |
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 inline Operand NativeContextOperand() { | 986 inline Operand NativeContextOperand() { |
986 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); | 987 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
987 } | 988 } |
988 | 989 |
989 #define ACCESS_MASM(masm) masm-> | 990 #define ACCESS_MASM(masm) masm-> |
990 | 991 |
991 } // namespace internal | 992 } // namespace internal |
992 } // namespace v8 | 993 } // namespace v8 |
993 | 994 |
994 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 995 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |