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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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[] = {r2}; |
70 data->InitializePlatformSpecific(arraysize(registers), registers); | 70 data->InitializePlatformSpecific(arraysize(registers), registers); |
71 } | 71 } |
72 | 72 |
73 void FastNewObjectDescriptor::InitializePlatformSpecific( | |
74 CallInterfaceDescriptorData* data) { | |
75 Register registers[] = {r1, r3}; | |
76 data->InitializePlatformSpecific(arraysize(registers), registers); | |
77 } | |
78 | |
79 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 73 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
80 CallInterfaceDescriptorData* data) { | 74 CallInterfaceDescriptorData* data) { |
81 Register registers[] = {r1}; | 75 Register registers[] = {r1}; |
82 data->InitializePlatformSpecific(arraysize(registers), registers); | 76 data->InitializePlatformSpecific(arraysize(registers), registers); |
83 } | 77 } |
84 | 78 |
85 | 79 |
86 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | 80 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
87 CallInterfaceDescriptorData* data) { | 81 CallInterfaceDescriptorData* data) { |
88 Register registers[] = {r1}; | 82 Register registers[] = {r1}; |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 r1, // the JSGeneratorObject to resume | 427 r1, // the JSGeneratorObject to resume |
434 r2 // the resume mode (tagged) | 428 r2 // the resume mode (tagged) |
435 }; | 429 }; |
436 data->InitializePlatformSpecific(arraysize(registers), registers); | 430 data->InitializePlatformSpecific(arraysize(registers), registers); |
437 } | 431 } |
438 | 432 |
439 } // namespace internal | 433 } // namespace internal |
440 } // namespace v8 | 434 } // namespace v8 |
441 | 435 |
442 #endif // V8_TARGET_ARCH_ARM | 436 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |