OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390 | 5 #if V8_TARGET_ARCH_S390 |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 const Register MathPowIntegerDescriptor::exponent() { | 55 const Register MathPowIntegerDescriptor::exponent() { |
56 return MathPowTaggedDescriptor::exponent(); | 56 return MathPowTaggedDescriptor::exponent(); |
57 } | 57 } |
58 | 58 |
59 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r2; } | 59 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r2; } |
60 const Register GrowArrayElementsDescriptor::KeyRegister() { return r5; } | 60 const Register GrowArrayElementsDescriptor::KeyRegister() { return r5; } |
61 | 61 |
62 void FastNewClosureDescriptor::InitializePlatformSpecific( | 62 void FastNewClosureDescriptor::InitializePlatformSpecific( |
63 CallInterfaceDescriptorData* data) { | 63 CallInterfaceDescriptorData* data) { |
64 Register registers[] = {r4}; | 64 Register registers[] = {r3, r4, r5}; |
65 data->InitializePlatformSpecific(arraysize(registers), registers); | 65 data->InitializePlatformSpecific(arraysize(registers), registers); |
66 } | 66 } |
67 | 67 |
68 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 68 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
69 CallInterfaceDescriptorData* data) { | 69 CallInterfaceDescriptorData* data) { |
70 Register registers[] = {r3}; | 70 Register registers[] = {r3}; |
71 data->InitializePlatformSpecific(arraysize(registers), registers); | 71 data->InitializePlatformSpecific(arraysize(registers), registers); |
72 } | 72 } |
73 | 73 |
74 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | 74 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 r3, // the JSGeneratorObject to resume | 378 r3, // the JSGeneratorObject to resume |
379 r4 // the resume mode (tagged) | 379 r4 // the resume mode (tagged) |
380 }; | 380 }; |
381 data->InitializePlatformSpecific(arraysize(registers), registers); | 381 data->InitializePlatformSpecific(arraysize(registers), registers); |
382 } | 382 } |
383 | 383 |
384 } // namespace internal | 384 } // namespace internal |
385 } // namespace v8 | 385 } // namespace v8 |
386 | 386 |
387 #endif // V8_TARGET_ARCH_S390 | 387 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |