Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index dc9d63ca492aec89c5c55bc05008df9b1ea8dc82..0bf89d89019b36ddb610a402c466f1e48dc6e921 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -65,6 +65,11 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
static Register registers[] = { x3, x2, x1 }; |
descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); |
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; |
@@ -230,6 +235,11 @@ static void InitializeArrayConstructorDescriptor( |
descriptor->register_param_count_ = |
sizeof(registers_variable_args) / sizeof(registers_variable_args[0]); |
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; |
@@ -276,6 +286,10 @@ static void InitializeInternalArrayConstructorDescriptor( |
descriptor->register_param_count_ = |
sizeof(registers_variable_args) / sizeof(registers_variable_args[0]); |
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; |