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 RegList regs = receiver.bit() | name.bit() | |
157 if (FLAG_vector_ics) { | 157 VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
158 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); | |
159 } | |
160 Generate_DebugBreakCallHelper(masm, regs, 0); | 158 Generate_DebugBreakCallHelper(masm, regs, 0); |
161 } | 159 } |
162 | 160 |
163 | 161 |
164 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 162 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
165 // Calling convention for IC store (from ic-mips.cc). | 163 // Calling convention for IC store (from ic-mips.cc). |
166 Register receiver = StoreDescriptor::ReceiverRegister(); | 164 Register receiver = StoreDescriptor::ReceiverRegister(); |
167 Register name = StoreDescriptor::NameRegister(); | 165 Register name = StoreDescriptor::NameRegister(); |
168 Register value = StoreDescriptor::ValueRegister(); | 166 Register value = StoreDescriptor::ValueRegister(); |
169 Generate_DebugBreakCallHelper( | 167 Generate_DebugBreakCallHelper( |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 } | 286 } |
289 | 287 |
290 | 288 |
291 const bool LiveEdit::kFrameDropperSupported = true; | 289 const bool LiveEdit::kFrameDropperSupported = true; |
292 | 290 |
293 #undef __ | 291 #undef __ |
294 | 292 |
295 } } // namespace v8::internal | 293 } } // namespace v8::internal |
296 | 294 |
297 #endif // V8_TARGET_ARCH_MIPS | 295 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |