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 Register slot = LoadDescriptor::SlotRegister(); |
165 VectorLoadICTrampolineDescriptor::SlotRegister().bit(); | 165 RegList regs = receiver.bit() | name.bit() | slot.bit(); |
166 Generate_DebugBreakCallHelper(masm, regs, 0); | 166 Generate_DebugBreakCallHelper(masm, regs, 0); |
167 } | 167 } |
168 | 168 |
169 | 169 |
170 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 170 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
171 // Calling convention for IC store (from ic-ppc.cc). | 171 // Calling convention for IC store (from ic-ppc.cc). |
172 Register receiver = StoreDescriptor::ReceiverRegister(); | 172 Register receiver = StoreDescriptor::ReceiverRegister(); |
173 Register name = StoreDescriptor::NameRegister(); | 173 Register name = StoreDescriptor::NameRegister(); |
174 Register value = StoreDescriptor::ValueRegister(); | 174 Register value = StoreDescriptor::ValueRegister(); |
175 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... |
297 } | 297 } |
298 | 298 |
299 | 299 |
300 const bool LiveEdit::kFrameDropperSupported = true; | 300 const bool LiveEdit::kFrameDropperSupported = true; |
301 | 301 |
302 #undef __ | 302 #undef __ |
303 } | 303 } |
304 } // namespace v8::internal | 304 } // namespace v8::internal |
305 | 305 |
306 #endif // V8_TARGET_ARCH_PPC | 306 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |