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 | 5 |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // -- a1 : function | 146 // -- a1 : function |
147 // -- a3 : slot in feedback array (smi) | 147 // -- a3 : slot in feedback array (smi) |
148 // ----------------------------------- | 148 // ----------------------------------- |
149 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); | 149 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); |
150 } | 150 } |
151 | 151 |
152 | 152 |
153 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 153 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
154 Register receiver = LoadDescriptor::ReceiverRegister(); | 154 Register receiver = LoadDescriptor::ReceiverRegister(); |
155 Register name = LoadDescriptor::NameRegister(); | 155 Register name = LoadDescriptor::NameRegister(); |
156 RegList regs = receiver.bit() | name.bit() | | 156 Register slot = LoadDescriptor::SlotRegister(); |
157 VectorLoadICTrampolineDescriptor::SlotRegister().bit(); | 157 RegList regs = receiver.bit() | name.bit() | slot.bit(); |
158 Generate_DebugBreakCallHelper(masm, regs, 0); | 158 Generate_DebugBreakCallHelper(masm, regs, 0); |
159 } | 159 } |
160 | 160 |
161 | 161 |
162 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 162 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
163 // Calling convention for IC store (from ic-mips.cc). | 163 // Calling convention for IC store (from ic-mips.cc). |
164 Register receiver = StoreDescriptor::ReceiverRegister(); | 164 Register receiver = StoreDescriptor::ReceiverRegister(); |
165 Register name = StoreDescriptor::NameRegister(); | 165 Register name = StoreDescriptor::NameRegister(); |
166 Register value = StoreDescriptor::ValueRegister(); | 166 Register value = StoreDescriptor::ValueRegister(); |
167 Generate_DebugBreakCallHelper( | 167 Generate_DebugBreakCallHelper( |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 } | 286 } |
287 | 287 |
288 | 288 |
289 const bool LiveEdit::kFrameDropperSupported = true; | 289 const bool LiveEdit::kFrameDropperSupported = true; |
290 | 290 |
291 #undef __ | 291 #undef __ |
292 | 292 |
293 } } // namespace v8::internal | 293 } } // namespace v8::internal |
294 | 294 |
295 #endif // V8_TARGET_ARCH_MIPS | 295 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |