Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 2e2b975c79108b6d29705f6662072b2ef7185e1c..6d2a3ad5d1db90121dcb4c9e782b3b87b2c55198 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -87,6 +87,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; |
@@ -228,6 +233,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; |
} |
@@ -257,6 +267,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; |