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/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 InitializeInternalArrayConstructorDescriptor(descriptor, 1); | 214 InitializeInternalArrayConstructorDescriptor(descriptor, 1); |
215 } | 215 } |
216 | 216 |
217 | 217 |
218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( | 218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( |
219 CodeStubInterfaceDescriptor* descriptor) { | 219 CodeStubInterfaceDescriptor* descriptor) { |
220 InitializeInternalArrayConstructorDescriptor(descriptor, -1); | 220 InitializeInternalArrayConstructorDescriptor(descriptor, -1); |
221 } | 221 } |
222 | 222 |
223 | 223 |
| 224 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( |
| 225 CodeStubInterfaceDescriptor* descriptor) { |
| 226 Register registers[] = { r0, r3, r1, r2 }; |
| 227 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
| 228 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); |
| 229 } |
| 230 |
| 231 |
224 void BinaryOpICStub::InitializeInterfaceDescriptor( | 232 void BinaryOpICStub::InitializeInterfaceDescriptor( |
225 CodeStubInterfaceDescriptor* descriptor) { | 233 CodeStubInterfaceDescriptor* descriptor) { |
226 Register registers[] = { r1, r0 }; | 234 Register registers[] = { r1, r0 }; |
227 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 235 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
228 FUNCTION_ADDR(BinaryOpIC_Miss)); | 236 FUNCTION_ADDR(BinaryOpIC_Miss)); |
229 descriptor->SetMissHandler( | 237 descriptor->SetMissHandler( |
230 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); | 238 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); |
231 } | 239 } |
232 | 240 |
233 | 241 |
(...skipping 4821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5055 MemOperand(fp, 6 * kPointerSize), | 5063 MemOperand(fp, 6 * kPointerSize), |
5056 NULL); | 5064 NULL); |
5057 } | 5065 } |
5058 | 5066 |
5059 | 5067 |
5060 #undef __ | 5068 #undef __ |
5061 | 5069 |
5062 } } // namespace v8::internal | 5070 } } // namespace v8::internal |
5063 | 5071 |
5064 #endif // V8_TARGET_ARCH_ARM | 5072 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |