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/interface-descriptors.h" | 5 #include "src/interface-descriptors.h" |
6 | 6 |
7 namespace v8 { | 7 namespace v8 { |
8 namespace internal { | 8 namespace internal { |
9 | 9 |
10 namespace { | 10 namespace { |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 } | 148 } |
149 | 149 |
150 | 150 |
151 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( | 151 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( |
152 CallInterfaceDescriptorData* data) { | 152 CallInterfaceDescriptorData* data) { |
153 Register registers[] = {SlotRegister(), ValueRegister()}; | 153 Register registers[] = {SlotRegister(), ValueRegister()}; |
154 data->InitializePlatformSpecific(arraysize(registers), registers); | 154 data->InitializePlatformSpecific(arraysize(registers), registers); |
155 } | 155 } |
156 | 156 |
157 | 157 |
158 void InstanceofDescriptor::InitializePlatformSpecific( | 158 void InstanceOfDescriptor::InitializePlatformSpecific( |
159 CallInterfaceDescriptorData* data) { | 159 CallInterfaceDescriptorData* data) { |
160 Register registers[] = {left(), right()}; | 160 Register registers[] = {LeftRegister(), RightRegister()}; |
161 data->InitializePlatformSpecific(arraysize(registers), registers); | 161 data->InitializePlatformSpecific(arraysize(registers), registers); |
162 } | 162 } |
163 | 163 |
164 | 164 |
165 void ToObjectDescriptor::InitializePlatformSpecific( | 165 void ToObjectDescriptor::InitializePlatformSpecific( |
166 CallInterfaceDescriptorData* data) { | 166 CallInterfaceDescriptorData* data) { |
167 Register registers[] = {ReceiverRegister()}; | 167 Register registers[] = {ReceiverRegister()}; |
168 data->InitializePlatformSpecific(arraysize(registers), registers); | 168 data->InitializePlatformSpecific(arraysize(registers), registers); |
169 } | 169 } |
170 | 170 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); | 440 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); |
441 function->InitParameter(0, Type::Receiver()); | 441 function->InitParameter(0, Type::Receiver()); |
442 function->InitParameter(1, SmiType()); | 442 function->InitParameter(1, SmiType()); |
443 function->InitParameter(2, AnyTagged()); | 443 function->InitParameter(2, AnyTagged()); |
444 function->InitParameter(3, AnyTagged()); | 444 function->InitParameter(3, AnyTagged()); |
445 function->InitParameter(4, AnyTagged()); | 445 function->InitParameter(4, AnyTagged()); |
446 return function; | 446 return function; |
447 } | 447 } |
448 } // namespace internal | 448 } // namespace internal |
449 } // namespace v8 | 449 } // namespace v8 |
OLD | NEW |