| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 } | 124 } |
| 125 | 125 |
| 126 | 126 |
| 127 void TypeofDescriptor::InitializePlatformSpecific( | 127 void TypeofDescriptor::InitializePlatformSpecific( |
| 128 CallInterfaceDescriptorData* data) { | 128 CallInterfaceDescriptorData* data) { |
| 129 Register registers[] = {ebx}; | 129 Register registers[] = {ebx}; |
| 130 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 130 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 131 } | 131 } |
| 132 | 132 |
| 133 | 133 |
| 134 void FastCloneRegExpDescriptor::InitializePlatformSpecific( |
| 135 CallInterfaceDescriptorData* data) { |
| 136 Register registers[] = {edi, eax, ecx, edx}; |
| 137 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 138 } |
| 139 |
| 140 |
| 134 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( | 141 void FastCloneShallowArrayDescriptor::InitializePlatformSpecific( |
| 135 CallInterfaceDescriptorData* data) { | 142 CallInterfaceDescriptorData* data) { |
| 136 Register registers[] = {eax, ebx, ecx}; | 143 Register registers[] = {eax, ebx, ecx}; |
| 137 data->InitializePlatformSpecific(arraysize(registers), registers); | 144 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 138 } | 145 } |
| 139 | 146 |
| 140 | 147 |
| 141 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( | 148 void FastCloneShallowObjectDescriptor::InitializePlatformSpecific( |
| 142 CallInterfaceDescriptorData* data) { | 149 CallInterfaceDescriptorData* data) { |
| 143 Register registers[] = {eax, ebx, ecx, edx}; | 150 Register registers[] = {eax, ebx, ecx, edx}; |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 ecx, // address of first argument (argv) | 449 ecx, // address of first argument (argv) |
| 443 ebx // the runtime function to call | 450 ebx // the runtime function to call |
| 444 }; | 451 }; |
| 445 data->InitializePlatformSpecific(arraysize(registers), registers); | 452 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 446 } | 453 } |
| 447 | 454 |
| 448 } // namespace internal | 455 } // namespace internal |
| 449 } // namespace v8 | 456 } // namespace v8 |
| 450 | 457 |
| 451 #endif // V8_TARGET_ARCH_IA32 | 458 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |