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_MIPS64 | 9 #if V8_TARGET_ARCH_MIPS64 |
10 | 10 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // -- a1 : function | 149 // -- a1 : function |
150 // -- a3 : slot in feedback array (smi) | 150 // -- a3 : slot in feedback array (smi) |
151 // ----------------------------------- | 151 // ----------------------------------- |
152 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); | 152 Generate_DebugBreakCallHelper(masm, a1.bit() | a3.bit(), 0); |
153 } | 153 } |
154 | 154 |
155 | 155 |
156 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 156 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
157 Register receiver = LoadDescriptor::ReceiverRegister(); | 157 Register receiver = LoadDescriptor::ReceiverRegister(); |
158 Register name = LoadDescriptor::NameRegister(); | 158 Register name = LoadDescriptor::NameRegister(); |
159 RegList regs = receiver.bit() | name.bit(); | 159 RegList regs = receiver.bit() | name.bit() | |
160 if (FLAG_vector_ics) { | 160 VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
161 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); | |
162 } | |
163 Generate_DebugBreakCallHelper(masm, regs, 0); | 161 Generate_DebugBreakCallHelper(masm, regs, 0); |
164 } | 162 } |
165 | 163 |
166 | 164 |
167 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 165 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
168 Register receiver = StoreDescriptor::ReceiverRegister(); | 166 Register receiver = StoreDescriptor::ReceiverRegister(); |
169 Register name = StoreDescriptor::NameRegister(); | 167 Register name = StoreDescriptor::NameRegister(); |
170 Register value = StoreDescriptor::ValueRegister(); | 168 Register value = StoreDescriptor::ValueRegister(); |
171 Generate_DebugBreakCallHelper( | 169 Generate_DebugBreakCallHelper( |
172 masm, receiver.bit() | name.bit() | value.bit(), 0); | 170 masm, receiver.bit() | name.bit() | value.bit(), 0); |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 } | 289 } |
292 | 290 |
293 | 291 |
294 const bool LiveEdit::kFrameDropperSupported = true; | 292 const bool LiveEdit::kFrameDropperSupported = true; |
295 | 293 |
296 #undef __ | 294 #undef __ |
297 | 295 |
298 } } // namespace v8::internal | 296 } } // namespace v8::internal |
299 | 297 |
300 #endif // V8_TARGET_ARCH_MIPS64 | 298 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |