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/arm/interface-descriptors-arm.h" | 5 #include "src/arm/interface-descriptors-arm.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 return MathPowTaggedDescriptor::exponent(); | 59 return MathPowTaggedDescriptor::exponent(); |
60 } | 60 } |
61 | 61 |
62 | 62 |
63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } | 63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } |
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } | 64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } |
65 | 65 |
66 | 66 |
67 void FastNewClosureDescriptor::InitializePlatformSpecific( | 67 void FastNewClosureDescriptor::InitializePlatformSpecific( |
68 CallInterfaceDescriptorData* data) { | 68 CallInterfaceDescriptorData* data) { |
69 Register registers[] = {r2}; | 69 Register registers[] = {r1, r2, r3}; |
70 data->InitializePlatformSpecific(arraysize(registers), registers); | 70 data->InitializePlatformSpecific(arraysize(registers), registers); |
71 } | 71 } |
72 | 72 |
73 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 73 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
74 CallInterfaceDescriptorData* data) { | 74 CallInterfaceDescriptorData* data) { |
75 Register registers[] = {r1}; | 75 Register registers[] = {r1}; |
76 data->InitializePlatformSpecific(arraysize(registers), registers); | 76 data->InitializePlatformSpecific(arraysize(registers), registers); |
77 } | 77 } |
78 | 78 |
79 | 79 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 r1, // the JSGeneratorObject to resume | 427 r1, // the JSGeneratorObject to resume |
428 r2 // the resume mode (tagged) | 428 r2 // the resume mode (tagged) |
429 }; | 429 }; |
430 data->InitializePlatformSpecific(arraysize(registers), registers); | 430 data->InitializePlatformSpecific(arraysize(registers), registers); |
431 } | 431 } |
432 | 432 |
433 } // namespace internal | 433 } // namespace internal |
434 } // namespace v8 | 434 } // namespace v8 |
435 | 435 |
436 #endif // V8_TARGET_ARCH_ARM | 436 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |