OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC | 5 #if V8_TARGET_ARCH_PPC |
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } | 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } |
69 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } | 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } |
70 | 70 |
71 void FastNewClosureDescriptor::InitializePlatformSpecific( | 71 void FastNewClosureDescriptor::InitializePlatformSpecific( |
72 CallInterfaceDescriptorData* data) { | 72 CallInterfaceDescriptorData* data) { |
73 Register registers[] = {r5}; | 73 Register registers[] = {r5}; |
74 data->InitializePlatformSpecific(arraysize(registers), registers); | 74 data->InitializePlatformSpecific(arraysize(registers), registers); |
75 } | 75 } |
76 | 76 |
77 | 77 void FastNewFunctionContextDescriptor::InitializePlatformSpecific( |
78 void FastNewContextDescriptor::InitializePlatformSpecific( | |
79 CallInterfaceDescriptorData* data) { | 78 CallInterfaceDescriptorData* data) { |
80 Register registers[] = {r4}; | 79 Register registers[] = {r4}; |
81 data->InitializePlatformSpecific(arraysize(registers), registers); | 80 data->InitializePlatformSpecific(arraysize(registers), registers); |
82 } | 81 } |
83 | 82 |
84 void FastNewObjectDescriptor::InitializePlatformSpecific( | 83 void FastNewObjectDescriptor::InitializePlatformSpecific( |
85 CallInterfaceDescriptorData* data) { | 84 CallInterfaceDescriptorData* data) { |
86 Register registers[] = {r4, r6}; | 85 Register registers[] = {r4, r6}; |
87 data->InitializePlatformSpecific(arraysize(registers), registers); | 86 data->InitializePlatformSpecific(arraysize(registers), registers); |
88 } | 87 } |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 r3, // the value to pass to the generator | 405 r3, // the value to pass to the generator |
407 r4, // the JSGeneratorObject to resume | 406 r4, // the JSGeneratorObject to resume |
408 r5 // the resume mode (tagged) | 407 r5 // the resume mode (tagged) |
409 }; | 408 }; |
410 data->InitializePlatformSpecific(arraysize(registers), registers); | 409 data->InitializePlatformSpecific(arraysize(registers), registers); |
411 } | 410 } |
412 } // namespace internal | 411 } // namespace internal |
413 } // namespace v8 | 412 } // namespace v8 |
414 | 413 |
415 #endif // V8_TARGET_ARCH_PPC | 414 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |