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_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
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 13 matching lines...) Expand all Loading... |
24 const Register StoreDescriptor::NameRegister() { return a2; } | 24 const Register StoreDescriptor::NameRegister() { return a2; } |
25 const Register StoreDescriptor::ValueRegister() { return a0; } | 25 const Register StoreDescriptor::ValueRegister() { return a0; } |
26 | 26 |
27 | 27 |
28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return t0; } | 28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return t0; } |
29 | 29 |
30 | 30 |
31 const Register VectorStoreICDescriptor::VectorRegister() { return a3; } | 31 const Register VectorStoreICDescriptor::VectorRegister() { return a3; } |
32 | 32 |
33 | 33 |
| 34 const Register VectorStoreTransitionDescriptor::SlotRegister() { return t0; } |
| 35 const Register VectorStoreTransitionDescriptor::VectorRegister() { return a3; } |
| 36 const Register VectorStoreTransitionDescriptor::MapRegister() { return t1; } |
| 37 |
| 38 |
34 const Register StoreTransitionDescriptor::MapRegister() { return a3; } | 39 const Register StoreTransitionDescriptor::MapRegister() { return a3; } |
35 | 40 |
36 | 41 |
37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return a2; } | 42 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return a2; } |
38 | 43 |
39 | 44 |
40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return a2; } | 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return a2; } |
41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return a0; } | 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return a0; } |
42 | 47 |
43 | 48 |
(...skipping 13 matching lines...) Expand all Loading... |
57 | 62 |
58 const Register MathPowIntegerDescriptor::exponent() { | 63 const Register MathPowIntegerDescriptor::exponent() { |
59 return MathPowTaggedDescriptor::exponent(); | 64 return MathPowTaggedDescriptor::exponent(); |
60 } | 65 } |
61 | 66 |
62 | 67 |
63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; } | 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; } |
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } | 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } |
65 | 70 |
66 | 71 |
67 void StoreTransitionDescriptor::InitializePlatformSpecific( | 72 void VectorStoreTransitionDescriptor::InitializePlatformSpecific( |
68 CallInterfaceDescriptorData* data) { | 73 CallInterfaceDescriptorData* data) { |
69 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), | 74 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), |
70 MapRegister()}; | 75 SlotRegister(), VectorRegister(), MapRegister()}; |
71 data->InitializePlatformSpecific(arraysize(registers), registers); | 76 data->InitializePlatformSpecific(arraysize(registers), registers); |
72 } | 77 } |
73 | 78 |
74 | 79 |
75 void FastNewClosureDescriptor::InitializePlatformSpecific( | 80 void FastNewClosureDescriptor::InitializePlatformSpecific( |
76 CallInterfaceDescriptorData* data) { | 81 CallInterfaceDescriptorData* data) { |
77 Register registers[] = {a2}; | 82 Register registers[] = {a2}; |
78 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 83 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
79 } | 84 } |
80 | 85 |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 a1, // math rounding function | 365 a1, // math rounding function |
361 a3, // vector slot id | 366 a3, // vector slot id |
362 a2, // type vector | 367 a2, // type vector |
363 }; | 368 }; |
364 data->InitializePlatformSpecific(arraysize(registers), registers); | 369 data->InitializePlatformSpecific(arraysize(registers), registers); |
365 } | 370 } |
366 } // namespace internal | 371 } // namespace internal |
367 } // namespace v8 | 372 } // namespace v8 |
368 | 373 |
369 #endif // V8_TARGET_ARCH_MIPS | 374 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |