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 #if V8_TARGET_ARCH_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 const Register MathPowIntegerDescriptor::exponent() { | 72 const Register MathPowIntegerDescriptor::exponent() { |
73 return MathPowTaggedDescriptor::exponent(); | 73 return MathPowTaggedDescriptor::exponent(); |
74 } | 74 } |
75 | 75 |
76 | 76 |
77 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; } | 77 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; } |
78 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } | 78 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } |
79 | 79 |
80 | 80 |
81 void VectorStoreTransitionDescriptor::InitializePlatformSpecific( | |
82 CallInterfaceDescriptorData* data) { | |
83 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), | |
84 SlotRegister(), VectorRegister(), MapRegister()}; | |
85 data->InitializePlatformSpecific(arraysize(registers), registers); | |
86 } | |
87 | |
88 | |
89 void FastNewClosureDescriptor::InitializePlatformSpecific( | 81 void FastNewClosureDescriptor::InitializePlatformSpecific( |
90 CallInterfaceDescriptorData* data) { | 82 CallInterfaceDescriptorData* data) { |
91 Register registers[] = {a2}; | 83 Register registers[] = {a2}; |
92 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 84 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
93 } | 85 } |
94 | 86 |
95 | 87 |
96 void FastNewContextDescriptor::InitializePlatformSpecific( | 88 void FastNewContextDescriptor::InitializePlatformSpecific( |
97 CallInterfaceDescriptorData* data) { | 89 CallInterfaceDescriptorData* data) { |
98 Register registers[] = {a1}; | 90 Register registers[] = {a1}; |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 a2, // address of first argument (argv) | 402 a2, // address of first argument (argv) |
411 a1 // the runtime function to call | 403 a1 // the runtime function to call |
412 }; | 404 }; |
413 data->InitializePlatformSpecific(arraysize(registers), registers); | 405 data->InitializePlatformSpecific(arraysize(registers), registers); |
414 } | 406 } |
415 | 407 |
416 } // namespace internal | 408 } // namespace internal |
417 } // namespace v8 | 409 } // namespace v8 |
418 | 410 |
419 #endif // V8_TARGET_ARCH_MIPS64 | 411 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |