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_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 const Register GrowArrayElementsDescriptor::KeyRegister() { return ebx; } | 62 const Register GrowArrayElementsDescriptor::KeyRegister() { return ebx; } |
63 | 63 |
64 | 64 |
65 void FastNewClosureDescriptor::InitializePlatformSpecific( | 65 void FastNewClosureDescriptor::InitializePlatformSpecific( |
66 CallInterfaceDescriptorData* data) { | 66 CallInterfaceDescriptorData* data) { |
67 // SharedFunctionInfo, vector, slot index. | 67 // SharedFunctionInfo, vector, slot index. |
68 Register registers[] = {ebx, ecx, edx}; | 68 Register registers[] = {ebx, ecx, edx}; |
69 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 69 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
70 } | 70 } |
71 | 71 |
72 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | |
73 CallInterfaceDescriptorData* data) { | |
74 Register registers[] = {edi}; | |
75 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
76 } | |
77 | |
78 | |
79 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | |
80 CallInterfaceDescriptorData* data) { | |
81 Register registers[] = {edi}; | |
82 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
83 } | |
84 | |
85 | |
86 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | |
87 CallInterfaceDescriptorData* data) { | |
88 Register registers[] = {edi}; | |
89 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
90 } | |
91 | |
92 | |
93 // static | 72 // static |
94 const Register TypeConversionDescriptor::ArgumentRegister() { return eax; } | 73 const Register TypeConversionDescriptor::ArgumentRegister() { return eax; } |
95 | 74 |
96 void TypeofDescriptor::InitializePlatformSpecific( | 75 void TypeofDescriptor::InitializePlatformSpecific( |
97 CallInterfaceDescriptorData* data) { | 76 CallInterfaceDescriptorData* data) { |
98 Register registers[] = {ebx}; | 77 Register registers[] = {ebx}; |
99 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 78 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
100 } | 79 } |
101 | 80 |
102 | 81 |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 Register registers[] = { | 408 Register registers[] = { |
430 ebx, // loaded new FP | 409 ebx, // loaded new FP |
431 }; | 410 }; |
432 data->InitializePlatformSpecific(arraysize(registers), registers); | 411 data->InitializePlatformSpecific(arraysize(registers), registers); |
433 } | 412 } |
434 | 413 |
435 } // namespace internal | 414 } // namespace internal |
436 } // namespace v8 | 415 } // namespace v8 |
437 | 416 |
438 #endif // V8_TARGET_ARCH_IA32 | 417 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |