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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 } | 171 } |
172 | 172 |
173 | 173 |
174 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( | 174 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( |
175 CallInterfaceDescriptorData* data) { | 175 CallInterfaceDescriptorData* data) { |
176 Register registers[] = {SlotRegister(), ValueRegister()}; | 176 Register registers[] = {SlotRegister(), ValueRegister()}; |
177 data->InitializePlatformSpecific(arraysize(registers), registers); | 177 data->InitializePlatformSpecific(arraysize(registers), registers); |
178 } | 178 } |
179 | 179 |
180 | 180 |
181 void InstanceOfDescriptor::InitializePlatformSpecific( | |
182 CallInterfaceDescriptorData* data) { | |
183 Register registers[] = {LeftRegister(), RightRegister()}; | |
184 data->InitializePlatformSpecific(arraysize(registers), registers); | |
185 } | |
186 | |
187 | |
188 void StringCompareDescriptor::InitializePlatformSpecific( | 181 void StringCompareDescriptor::InitializePlatformSpecific( |
189 CallInterfaceDescriptorData* data) { | 182 CallInterfaceDescriptorData* data) { |
190 Register registers[] = {LeftRegister(), RightRegister()}; | 183 Register registers[] = {LeftRegister(), RightRegister()}; |
191 data->InitializePlatformSpecific(arraysize(registers), registers); | 184 data->InitializePlatformSpecific(arraysize(registers), registers); |
192 } | 185 } |
193 | 186 |
194 void TypeConversionDescriptor::InitializePlatformSpecific( | 187 void TypeConversionDescriptor::InitializePlatformSpecific( |
195 CallInterfaceDescriptorData* data) { | 188 CallInterfaceDescriptorData* data) { |
196 Register registers[] = {ArgumentRegister()}; | 189 Register registers[] = {ArgumentRegister()}; |
197 data->InitializePlatformSpecific(arraysize(registers), registers); | 190 data->InitializePlatformSpecific(arraysize(registers), registers); |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); | 530 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); |
538 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); | 531 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); |
539 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); | 532 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); |
540 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); | 533 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); |
541 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); | 534 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); |
542 return function; | 535 return function; |
543 } | 536 } |
544 | 537 |
545 } // namespace internal | 538 } // namespace internal |
546 } // namespace v8 | 539 } // namespace v8 |
OLD | NEW |