| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 // static | 113 // static |
| 114 const Register ToLengthDescriptor::ReceiverRegister() { return eax; } | 114 const Register ToLengthDescriptor::ReceiverRegister() { return eax; } |
| 115 | 115 |
| 116 | 116 |
| 117 // static | 117 // static |
| 118 const Register ToStringDescriptor::ReceiverRegister() { return eax; } | 118 const Register ToStringDescriptor::ReceiverRegister() { return eax; } |
| 119 | 119 |
| 120 | 120 |
| 121 // static | 121 // static |
| 122 const Register ToNameDescriptor::ReceiverRegister() { return eax; } |
| 123 |
| 124 |
| 125 // static |
| 122 const Register ToObjectDescriptor::ReceiverRegister() { return eax; } | 126 const Register ToObjectDescriptor::ReceiverRegister() { return eax; } |
| 123 | 127 |
| 124 | 128 |
| 125 void NumberToStringDescriptor::InitializePlatformSpecific( | 129 void NumberToStringDescriptor::InitializePlatformSpecific( |
| 126 CallInterfaceDescriptorData* data) { | 130 CallInterfaceDescriptorData* data) { |
| 127 Register registers[] = {eax}; | 131 Register registers[] = {eax}; |
| 128 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 132 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 129 } | 133 } |
| 130 | 134 |
| 131 | 135 |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 ecx, // address of first argument (argv) | 441 ecx, // address of first argument (argv) |
| 438 ebx // the runtime function to call | 442 ebx // the runtime function to call |
| 439 }; | 443 }; |
| 440 data->InitializePlatformSpecific(arraysize(registers), registers); | 444 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 441 } | 445 } |
| 442 | 446 |
| 443 } // namespace internal | 447 } // namespace internal |
| 444 } // namespace v8 | 448 } // namespace v8 |
| 445 | 449 |
| 446 #endif // V8_TARGET_ARCH_IA32 | 450 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |