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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; } | 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; } |
69 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } | 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } |
70 | 70 |
71 | 71 |
72 void FastNewClosureDescriptor::InitializePlatformSpecific( | 72 void FastNewClosureDescriptor::InitializePlatformSpecific( |
73 CallInterfaceDescriptorData* data) { | 73 CallInterfaceDescriptorData* data) { |
74 Register registers[] = {a2}; | 74 Register registers[] = {a2}; |
75 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 75 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
76 } | 76 } |
77 | 77 |
78 | 78 void FastNewFunctionContextDescriptor::InitializePlatformSpecific( |
79 void FastNewContextDescriptor::InitializePlatformSpecific( | |
80 CallInterfaceDescriptorData* data) { | 79 CallInterfaceDescriptorData* data) { |
81 Register registers[] = {a1}; | 80 Register registers[] = {a1}; |
82 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 81 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
83 } | 82 } |
84 | 83 |
85 void FastNewObjectDescriptor::InitializePlatformSpecific( | 84 void FastNewObjectDescriptor::InitializePlatformSpecific( |
86 CallInterfaceDescriptorData* data) { | 85 CallInterfaceDescriptorData* data) { |
87 Register registers[] = {a1, a3}; | 86 Register registers[] = {a1, a3}; |
88 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 87 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
89 } | 88 } |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 a1, // the JSGeneratorObject to resume | 407 a1, // the JSGeneratorObject to resume |
409 a2 // the resume mode (tagged) | 408 a2 // the resume mode (tagged) |
410 }; | 409 }; |
411 data->InitializePlatformSpecific(arraysize(registers), registers); | 410 data->InitializePlatformSpecific(arraysize(registers), registers); |
412 } | 411 } |
413 | 412 |
414 } // namespace internal | 413 } // namespace internal |
415 } // namespace v8 | 414 } // namespace v8 |
416 | 415 |
417 #endif // V8_TARGET_ARCH_MIPS64 | 416 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |