diff options
Diffstat (limited to 'deps/v8/src/codegen/ia32/interface-descriptors-ia32-inl.h')
-rw-r--r-- | deps/v8/src/codegen/ia32/interface-descriptors-ia32-inl.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/deps/v8/src/codegen/ia32/interface-descriptors-ia32-inl.h b/deps/v8/src/codegen/ia32/interface-descriptors-ia32-inl.h index 2f05a95635..d3f6101f4e 100644 --- a/deps/v8/src/codegen/ia32/interface-descriptors-ia32-inl.h +++ b/deps/v8/src/codegen/ia32/interface-descriptors-ia32-inl.h @@ -96,6 +96,9 @@ constexpr Register StoreWithVectorDescriptor::VectorRegister() { } // static +constexpr Register DefineKeyedOwnDescriptor::FlagsRegister() { return no_reg; } + +// static constexpr Register StoreTransitionDescriptor::MapRegister() { return edi; } // static @@ -317,6 +320,20 @@ constexpr auto NewHeapNumberDescriptor::registers() { return RegisterArray(ecx); } +// static +constexpr auto CheckTurboshaftFloat32TypeDescriptor::registers() { + // 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. + return RegisterArray(ecx); +} + +// static +constexpr auto CheckTurboshaftFloat64TypeDescriptor::registers() { + // 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. + return RegisterArray(ecx); +} + } // namespace internal } // namespace v8 |