| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 } | 220 } |
| 221 | 221 |
| 222 | 222 |
| 223 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 223 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
| 224 CallInterfaceDescriptorData* data) { | 224 CallInterfaceDescriptorData* data) { |
| 225 // register state | 225 // register state |
| 226 data->InitializePlatformSpecific(0, nullptr, nullptr); | 226 data->InitializePlatformSpecific(0, nullptr, nullptr); |
| 227 } | 227 } |
| 228 | 228 |
| 229 | 229 |
| 230 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
| 231 CallInterfaceDescriptorData* data) { |
| 232 Register registers[] = {eax}; |
| 233 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 234 } |
| 235 |
| 236 |
| 230 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 237 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
| 231 CallInterfaceDescriptorData* data) { | 238 CallInterfaceDescriptorData* data) { |
| 232 // register state | 239 // register state |
| 233 // eax -- number of arguments | 240 // eax -- number of arguments |
| 234 // edi -- function | 241 // edi -- function |
| 235 // ebx -- allocation site with elements kind | 242 // ebx -- allocation site with elements kind |
| 236 Register registers[] = {edi, ebx}; | 243 Register registers[] = {edi, ebx}; |
| 237 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 244 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 238 } | 245 } |
| 239 | 246 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 ecx, // address of first argument (argv) | 415 ecx, // address of first argument (argv) |
| 409 ebx // the runtime function to call | 416 ebx // the runtime function to call |
| 410 }; | 417 }; |
| 411 data->InitializePlatformSpecific(arraysize(registers), registers); | 418 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 412 } | 419 } |
| 413 | 420 |
| 414 } // namespace internal | 421 } // namespace internal |
| 415 } // namespace v8 | 422 } // namespace v8 |
| 416 | 423 |
| 417 #endif // V8_TARGET_ARCH_IA32 | 424 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |