Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 546595ad419ea53f3a6ab4889ab65debba98b6a9..0c35e513329584cf7301b710feb5293c17b4456d 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -59,6 +59,11 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
static Register registers[] = { rax, rbx, rcx }; |
descriptor->register_param_count_ = 3; |
descriptor->register_params_ = registers; |
+ static Representation representations[] = { |
+ Representation::Tagged(), |
+ Representation::Smi(), |
+ Representation::Tagged() }; |
+ descriptor->register_param_representations_ = representations; |
descriptor->deoptimization_handler_ = |
Runtime::FunctionForId( |
Runtime::kHiddenCreateArrayLiteralStubBailout)->entry; |
@@ -188,6 +193,11 @@ static void InitializeArrayConstructorDescriptor( |
descriptor->handler_arguments_mode_ = PASS_ARGUMENTS; |
descriptor->stack_parameter_count_ = rax; |
descriptor->register_param_count_ = 3; |
+ static Representation representations[] = { |
+ Representation::Tagged(), |
+ Representation::Tagged(), |
+ Representation::Integer32() }; |
+ descriptor->register_param_representations_ = representations; |
descriptor->register_params_ = registers_variable_args; |
} |
@@ -216,6 +226,10 @@ static void InitializeInternalArrayConstructorDescriptor( |
descriptor->stack_parameter_count_ = rax; |
descriptor->register_param_count_ = 2; |
descriptor->register_params_ = registers_variable_args; |
+ static Representation representations[] = { |
+ Representation::Tagged(), |
+ Representation::Integer32() }; |
+ descriptor->register_param_representations_ = representations; |
} |
descriptor->hint_stack_parameter_count_ = constant_stack_parameter_count; |