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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // -- r3 : slot in feedback array (smi) | 137 // -- r3 : slot in feedback array (smi) |
138 // ----------------------------------- | 138 // ----------------------------------- |
139 Generate_DebugBreakCallHelper(masm, r1.bit() | r3.bit(), 0); | 139 Generate_DebugBreakCallHelper(masm, r1.bit() | r3.bit(), 0); |
140 } | 140 } |
141 | 141 |
142 | 142 |
143 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 143 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
144 // Calling convention for IC load (from ic-arm.cc). | 144 // Calling convention for IC load (from ic-arm.cc). |
145 Register receiver = LoadDescriptor::ReceiverRegister(); | 145 Register receiver = LoadDescriptor::ReceiverRegister(); |
146 Register name = LoadDescriptor::NameRegister(); | 146 Register name = LoadDescriptor::NameRegister(); |
147 RegList regs = receiver.bit() | name.bit(); | 147 RegList regs = receiver.bit() | name.bit() | |
148 if (FLAG_vector_ics) { | 148 VectorLoadICTrampolineDescriptor::SlotRegister().bit(); |
149 regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit(); | |
150 } | |
151 Generate_DebugBreakCallHelper(masm, regs, 0); | 149 Generate_DebugBreakCallHelper(masm, regs, 0); |
152 } | 150 } |
153 | 151 |
154 | 152 |
155 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 153 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
156 // Calling convention for IC store (from ic-arm.cc). | 154 // Calling convention for IC store (from ic-arm.cc). |
157 Register receiver = StoreDescriptor::ReceiverRegister(); | 155 Register receiver = StoreDescriptor::ReceiverRegister(); |
158 Register name = StoreDescriptor::NameRegister(); | 156 Register name = StoreDescriptor::NameRegister(); |
159 Register value = StoreDescriptor::ValueRegister(); | 157 Register value = StoreDescriptor::ValueRegister(); |
160 Generate_DebugBreakCallHelper( | 158 Generate_DebugBreakCallHelper( |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 } | 283 } |
286 | 284 |
287 | 285 |
288 const bool LiveEdit::kFrameDropperSupported = true; | 286 const bool LiveEdit::kFrameDropperSupported = true; |
289 | 287 |
290 #undef __ | 288 #undef __ |
291 | 289 |
292 } } // namespace v8::internal | 290 } } // namespace v8::internal |
293 | 291 |
294 #endif // V8_TARGET_ARCH_ARM | 292 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |