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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 75 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
76 } | 76 } |
77 | 77 |
78 | 78 |
79 void FastNewContextDescriptor::InitializePlatformSpecific( | 79 void FastNewContextDescriptor::InitializePlatformSpecific( |
80 CallInterfaceDescriptorData* data) { | 80 CallInterfaceDescriptorData* data) { |
81 Register registers[] = {a1}; | 81 Register registers[] = {a1}; |
82 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 82 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
83 } | 83 } |
84 | 84 |
| 85 void FastNewObjectDescriptor::InitializePlatformSpecific( |
| 86 CallInterfaceDescriptorData* data) { |
| 87 Register registers[] = {a1, a3}; |
| 88 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 89 } |
85 | 90 |
86 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 91 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
87 CallInterfaceDescriptorData* data) { | 92 CallInterfaceDescriptorData* data) { |
88 Register registers[] = {a1}; | 93 Register registers[] = {a1}; |
89 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
90 } | 95 } |
91 | 96 |
92 | 97 |
93 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | 98 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
94 CallInterfaceDescriptorData* data) { | 99 CallInterfaceDescriptorData* data) { |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 a2, // address of first argument (argv) | 453 a2, // address of first argument (argv) |
449 a1 // the runtime function to call | 454 a1 // the runtime function to call |
450 }; | 455 }; |
451 data->InitializePlatformSpecific(arraysize(registers), registers); | 456 data->InitializePlatformSpecific(arraysize(registers), registers); |
452 } | 457 } |
453 | 458 |
454 } // namespace internal | 459 } // namespace internal |
455 } // namespace v8 | 460 } // namespace v8 |
456 | 461 |
457 #endif // V8_TARGET_ARCH_MIPS64 | 462 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |