diff options
Diffstat (limited to 'deps/v8/src/codegen/ia32/interface-descriptors-ia32.cc')
-rw-r--r-- | deps/v8/src/codegen/ia32/interface-descriptors-ia32.cc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/deps/v8/src/codegen/ia32/interface-descriptors-ia32.cc b/deps/v8/src/codegen/ia32/interface-descriptors-ia32.cc index 428912c7bdd..8b1ea8d880e 100644 --- a/deps/v8/src/codegen/ia32/interface-descriptors-ia32.cc +++ b/deps/v8/src/codegen/ia32/interface-descriptors-ia32.cc @@ -284,6 +284,46 @@ void RunMicrotasksEntryDescriptor::InitializePlatformSpecific( data->InitializePlatformSpecific(0, nullptr); } +void WasmFloat32ToNumberDescriptor::InitializePlatformSpecific( + CallInterfaceDescriptorData* data) { + // Work around using eax, whose register code is 0, and leads to the FP + // parameter being passed via xmm0, which is not allocatable on ia32. + Register registers[] = {ecx}; + data->InitializePlatformSpecific(arraysize(registers), registers); +} + +void WasmFloat64ToNumberDescriptor::InitializePlatformSpecific( + CallInterfaceDescriptorData* data) { + // Work around using eax, whose register code is 0, and leads to the FP + // parameter being passed via xmm0, which is not allocatable on ia32. + Register registers[] = {ecx}; + data->InitializePlatformSpecific(arraysize(registers), registers); +} + +void BinaryOp_WithFeedbackDescriptor::InitializePlatformSpecific( + CallInterfaceDescriptorData* data) { + // TODO(v8:8888): Implement on this platform. + DefaultInitializePlatformSpecific(data, 4); +} + +void CallTrampoline_WithFeedbackDescriptor::InitializePlatformSpecific( + CallInterfaceDescriptorData* data) { + // TODO(v8:8888): Implement on this platform. + DefaultInitializePlatformSpecific(data, 4); +} + +void Compare_WithFeedbackDescriptor::InitializePlatformSpecific( + CallInterfaceDescriptorData* data) { + // TODO(v8:8888): Implement on this platform. + DefaultInitializePlatformSpecific(data, 4); +} + +void UnaryOp_WithFeedbackDescriptor::InitializePlatformSpecific( + CallInterfaceDescriptorData* data) { + // TODO(v8:8888): Implement on this platform. + DefaultInitializePlatformSpecific(data, 3); +} + } // namespace internal } // namespace v8 |