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 #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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 | 142 |
143 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( | 143 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( |
144 CallInterfaceDescriptorData* data) { | 144 CallInterfaceDescriptorData* data) { |
145 Register registers[] = {DepthRegister(), SlotRegister(), NameRegister(), | 145 Register registers[] = {DepthRegister(), SlotRegister(), NameRegister(), |
146 ValueRegister()}; | 146 ValueRegister()}; |
147 data->InitializePlatformSpecific(arraysize(registers), registers); | 147 data->InitializePlatformSpecific(arraysize(registers), registers); |
148 } | 148 } |
149 | 149 |
150 | 150 |
151 void ElementTransitionAndStoreDescriptor::InitializePlatformSpecific( | |
152 CallInterfaceDescriptorData* data) { | |
153 Register registers[] = {ValueRegister(), MapRegister(), NameRegister(), | |
154 ReceiverRegister()}; | |
155 data->InitializePlatformSpecific(arraysize(registers), registers); | |
156 } | |
157 | |
158 | |
159 void InstanceofDescriptor::InitializePlatformSpecific( | 151 void InstanceofDescriptor::InitializePlatformSpecific( |
160 CallInterfaceDescriptorData* data) { | 152 CallInterfaceDescriptorData* data) { |
161 Register registers[] = {left(), right()}; | 153 Register registers[] = {left(), right()}; |
162 data->InitializePlatformSpecific(arraysize(registers), registers); | 154 data->InitializePlatformSpecific(arraysize(registers), registers); |
163 } | 155 } |
164 | 156 |
165 | 157 |
166 void MathPowTaggedDescriptor::InitializePlatformSpecific( | 158 void MathPowTaggedDescriptor::InitializePlatformSpecific( |
167 CallInterfaceDescriptorData* data) { | 159 CallInterfaceDescriptorData* data) { |
168 Register registers[] = {exponent()}; | 160 Register registers[] = {exponent()}; |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); | 411 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); |
420 function->InitParameter(0, Type::Receiver()); | 412 function->InitParameter(0, Type::Receiver()); |
421 function->InitParameter(1, SmiType()); | 413 function->InitParameter(1, SmiType()); |
422 function->InitParameter(2, AnyTagged()); | 414 function->InitParameter(2, AnyTagged()); |
423 function->InitParameter(3, AnyTagged()); | 415 function->InitParameter(3, AnyTagged()); |
424 function->InitParameter(4, AnyTagged()); | 416 function->InitParameter(4, AnyTagged()); |
425 return function; | 417 return function; |
426 } | 418 } |
427 } // namespace internal | 419 } // namespace internal |
428 } // namespace v8 | 420 } // namespace v8 |
OLD | NEW |