| Index: src/interface-descriptors.cc
|
| diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc
|
| index fa41eb003620d30643581196f0c070eb5688a40e..1e8cc2e5a7aae2a7f940f1a49e2d0cfc8b292ed0 100644
|
| --- a/src/interface-descriptors.cc
|
| +++ b/src/interface-descriptors.cc
|
| @@ -359,16 +359,30 @@ ApiAccessorDescriptor::BuildCallInterfaceDescriptorFunctionType(
|
| }
|
|
|
|
|
| -Type::FunctionType*
|
| -MathRoundVariantDescriptor::BuildCallInterfaceDescriptorFunctionType(
|
| - Isolate* isolate, int paramater_count) {
|
| +Type::FunctionType* MathRoundVariantCallFromUnoptimizedCodeDescriptor::
|
| + BuildCallInterfaceDescriptorFunctionType(Isolate* isolate,
|
| + int paramater_count) {
|
| Type::FunctionType* function = Type::FunctionType::New(
|
| - AnyTagged(), Type::Undefined(), 2, isolate->interface_descriptor_zone());
|
| - function->InitParameter(0, SmiType());
|
| - function->InitParameter(1, AnyTagged());
|
| + AnyTagged(), Type::Undefined(), 4, isolate->interface_descriptor_zone());
|
| + function->InitParameter(0, Type::Receiver());
|
| + function->InitParameter(1, SmiType());
|
| + function->InitParameter(2, AnyTagged());
|
| + function->InitParameter(3, AnyTagged());
|
| return function;
|
| }
|
|
|
|
|
| +Type::FunctionType* MathRoundVariantCallFromOptimizedCodeDescriptor::
|
| + BuildCallInterfaceDescriptorFunctionType(Isolate* isolate,
|
| + int paramater_count) {
|
| + Type::FunctionType* function = Type::FunctionType::New(
|
| + AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone());
|
| + function->InitParameter(0, Type::Receiver());
|
| + function->InitParameter(1, SmiType());
|
| + function->InitParameter(2, AnyTagged());
|
| + function->InitParameter(3, AnyTagged());
|
| + function->InitParameter(4, AnyTagged());
|
| + return function;
|
| +}
|
| } // namespace internal
|
| } // namespace v8
|
|
|