| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 } | 97 } |
| 98 | 98 |
| 99 | 99 |
| 100 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 100 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 101 CallInterfaceDescriptorData* data) { | 101 CallInterfaceDescriptorData* data) { |
| 102 Register registers[] = {edi}; | 102 Register registers[] = {edi}; |
| 103 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 103 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 104 } | 104 } |
| 105 | 105 |
| 106 | 106 |
| 107 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 108 CallInterfaceDescriptorData* data) { |
| 109 Register registers[] = {edi}; |
| 110 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 111 } |
| 112 |
| 113 |
| 107 void ToNumberDescriptor::InitializePlatformSpecific( | 114 void ToNumberDescriptor::InitializePlatformSpecific( |
| 108 CallInterfaceDescriptorData* data) { | 115 CallInterfaceDescriptorData* data) { |
| 109 // ToNumberStub invokes a function, and therefore needs a context. | 116 // ToNumberStub invokes a function, and therefore needs a context. |
| 110 Register registers[] = {eax}; | 117 Register registers[] = {eax}; |
| 111 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 118 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 112 } | 119 } |
| 113 | 120 |
| 114 | 121 |
| 115 // static | 122 // static |
| 116 const Register ToLengthDescriptor::ReceiverRegister() { return eax; } | 123 const Register ToLengthDescriptor::ReceiverRegister() { return eax; } |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 ecx, // address of first argument (argv) | 455 ecx, // address of first argument (argv) |
| 449 ebx // the runtime function to call | 456 ebx // the runtime function to call |
| 450 }; | 457 }; |
| 451 data->InitializePlatformSpecific(arraysize(registers), registers); | 458 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 452 } | 459 } |
| 453 | 460 |
| 454 } // namespace internal | 461 } // namespace internal |
| 455 } // namespace v8 | 462 } // namespace v8 |
| 456 | 463 |
| 457 #endif // V8_TARGET_ARCH_IA32 | 464 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |