OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_PPC | 7 #if V8_TARGET_ARCH_PPC |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // -- r6 : slot in feedback array (smi) | 154 // -- r6 : slot in feedback array (smi) |
155 // ----------------------------------- | 155 // ----------------------------------- |
156 Generate_DebugBreakCallHelper(masm, r4.bit() | r6.bit(), 0); | 156 Generate_DebugBreakCallHelper(masm, r4.bit() | r6.bit(), 0); |
157 } | 157 } |
158 | 158 |
159 | 159 |
160 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 160 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
161 // Calling convention for IC load (from ic-ppc.cc). | 161 // Calling convention for IC load (from ic-ppc.cc). |
162 Register receiver = LoadDescriptor::ReceiverRegister(); | 162 Register receiver = LoadDescriptor::ReceiverRegister(); |
163 Register name = LoadDescriptor::NameRegister(); | 163 Register name = LoadDescriptor::NameRegister(); |
164 RegList regs = receiver.bit() | name.bit(); | 164 RegList regs = receiver.bit() | name.bit() | |
165 if (FLAG_vector_ics) { | 165 VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
166 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); | |
167 } | |
168 Generate_DebugBreakCallHelper(masm, regs, 0); | 166 Generate_DebugBreakCallHelper(masm, regs, 0); |
169 } | 167 } |
170 | 168 |
171 | 169 |
172 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 170 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
173 // Calling convention for IC store (from ic-ppc.cc). | 171 // Calling convention for IC store (from ic-ppc.cc). |
174 Register receiver = StoreDescriptor::ReceiverRegister(); | 172 Register receiver = StoreDescriptor::ReceiverRegister(); |
175 Register name = StoreDescriptor::NameRegister(); | 173 Register name = StoreDescriptor::NameRegister(); |
176 Register value = StoreDescriptor::ValueRegister(); | 174 Register value = StoreDescriptor::ValueRegister(); |
177 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit() | value.bit(), | 175 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit() | value.bit(), |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 } | 297 } |
300 | 298 |
301 | 299 |
302 const bool LiveEdit::kFrameDropperSupported = true; | 300 const bool LiveEdit::kFrameDropperSupported = true; |
303 | 301 |
304 #undef __ | 302 #undef __ |
305 } | 303 } |
306 } // namespace v8::internal | 304 } // namespace v8::internal |
307 | 305 |
308 #endif // V8_TARGET_ARCH_PPC | 306 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |