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