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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 data->Initialize(arraysize(registers), registers, NULL); | 71 data->Initialize(arraysize(registers), registers, NULL); |
72 } | 72 } |
73 | 73 |
74 | 74 |
75 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 75 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
76 Register registers[] = {cp, a0}; | 76 Register registers[] = {cp, a0}; |
77 data->Initialize(arraysize(registers), registers, NULL); | 77 data->Initialize(arraysize(registers), registers, NULL); |
78 } | 78 } |
79 | 79 |
80 | 80 |
| 81 void TypeofDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 82 Register registers[] = {cp, a3}; |
| 83 data->Initialize(arraysize(registers), registers, NULL); |
| 84 } |
| 85 |
| 86 |
81 void FastCloneShallowArrayDescriptor::Initialize( | 87 void FastCloneShallowArrayDescriptor::Initialize( |
82 CallInterfaceDescriptorData* data) { | 88 CallInterfaceDescriptorData* data) { |
83 Register registers[] = {cp, a3, a2, a1}; | 89 Register registers[] = {cp, a3, a2, a1}; |
84 Representation representations[] = { | 90 Representation representations[] = { |
85 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), | 91 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), |
86 Representation::Tagged()}; | 92 Representation::Tagged()}; |
87 data->Initialize(arraysize(registers), registers, representations); | 93 data->Initialize(arraysize(registers), registers, representations); |
88 } | 94 } |
89 | 95 |
90 | 96 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 Representation::Tagged(), // call_data | 361 Representation::Tagged(), // call_data |
356 Representation::Tagged(), // holder | 362 Representation::Tagged(), // holder |
357 Representation::External(), // api_function_address | 363 Representation::External(), // api_function_address |
358 }; | 364 }; |
359 data->Initialize(arraysize(registers), registers, representations); | 365 data->Initialize(arraysize(registers), registers, representations); |
360 } | 366 } |
361 } | 367 } |
362 } // namespace v8::internal | 368 } // namespace v8::internal |
363 | 369 |
364 #endif // V8_TARGET_ARCH_MIPS64 | 370 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |