| 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_X87 | 5 #if V8_TARGET_ARCH_X87 |
| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 Register registers[] = {edi}; | 91 Register registers[] = {edi}; |
| 92 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 92 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 93 } | 93 } |
| 94 | 94 |
| 95 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 95 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 96 CallInterfaceDescriptorData* data) { | 96 CallInterfaceDescriptorData* data) { |
| 97 Register registers[] = {edi}; | 97 Register registers[] = {edi}; |
| 98 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 98 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 99 } | 99 } |
| 100 | 100 |
| 101 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 102 CallInterfaceDescriptorData* data) { |
| 103 Register registers[] = {edi}; |
| 104 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 105 } |
| 106 |
| 101 void ToNumberDescriptor::InitializePlatformSpecific( | 107 void ToNumberDescriptor::InitializePlatformSpecific( |
| 102 CallInterfaceDescriptorData* data) { | 108 CallInterfaceDescriptorData* data) { |
| 103 // ToNumberStub invokes a function, and therefore needs a context. | 109 // ToNumberStub invokes a function, and therefore needs a context. |
| 104 Register registers[] = {eax}; | 110 Register registers[] = {eax}; |
| 105 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 111 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 106 } | 112 } |
| 107 | 113 |
| 108 | 114 |
| 109 // static | 115 // static |
| 110 const Register ToLengthDescriptor::ReceiverRegister() { return eax; } | 116 const Register ToLengthDescriptor::ReceiverRegister() { return eax; } |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 ecx, // address of first argument (argv) | 448 ecx, // address of first argument (argv) |
| 443 ebx // the runtime function to call | 449 ebx // the runtime function to call |
| 444 }; | 450 }; |
| 445 data->InitializePlatformSpecific(arraysize(registers), registers); | 451 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 446 } | 452 } |
| 447 | 453 |
| 448 } // namespace internal | 454 } // namespace internal |
| 449 } // namespace v8 | 455 } // namespace v8 |
| 450 | 456 |
| 451 #endif // V8_TARGET_ARCH_X87 | 457 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |