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[] = {r1, r2, r3}; | 69 Register registers[] = {r2}; |
70 data->InitializePlatformSpecific(arraysize(registers), registers); | 70 data->InitializePlatformSpecific(arraysize(registers), registers); |
71 } | 71 } |
72 | 72 |
73 void FastNewObjectDescriptor::InitializePlatformSpecific( | 73 void FastNewObjectDescriptor::InitializePlatformSpecific( |
74 CallInterfaceDescriptorData* data) { | 74 CallInterfaceDescriptorData* data) { |
75 Register registers[] = {r1, r3}; | 75 Register registers[] = {r1, r3}; |
76 data->InitializePlatformSpecific(arraysize(registers), registers); | 76 data->InitializePlatformSpecific(arraysize(registers), registers); |
77 } | 77 } |
78 | 78 |
79 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 79 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 r1, // the JSGeneratorObject to resume | 433 r1, // the JSGeneratorObject to resume |
434 r2 // the resume mode (tagged) | 434 r2 // the resume mode (tagged) |
435 }; | 435 }; |
436 data->InitializePlatformSpecific(arraysize(registers), registers); | 436 data->InitializePlatformSpecific(arraysize(registers), registers); |
437 } | 437 } |
438 | 438 |
439 } // namespace internal | 439 } // namespace internal |
440 } // namespace v8 | 440 } // namespace v8 |
441 | 441 |
442 #endif // V8_TARGET_ARCH_ARM | 442 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |