Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 21346178ca3fcb91c5fa169b9c86944d30ab61d3..f7f15da39d067c14b1315506ed9d8c797de356d1 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -82,6 +82,11 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
static Register registers[] = { a3, a2, a1 }; |
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; |
@@ -225,6 +230,11 @@ static void InitializeArrayConstructorDescriptor( |
descriptor->stack_parameter_count_ = a0; |
descriptor->register_param_count_ = 3; |
descriptor->register_params_ = registers_variable_args; |
+ static Representation representations[] = { |
+ Representation::Tagged(), |
+ Representation::Tagged(), |
+ Representation::Integer32() }; |
+ descriptor->register_param_representations_ = representations; |
} |
descriptor->hint_stack_parameter_count_ = constant_stack_parameter_count; |
@@ -252,6 +262,10 @@ static void InitializeInternalArrayConstructorDescriptor( |
descriptor->stack_parameter_count_ = a0; |
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; |