Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 80f3195c6f286232c5fc97649d8760795fdfda3d..1bd93e0d4e40c3f338896f45e88026bef5fde285 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -91,6 +91,11 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
static Register registers[] = { eax, ebx, ecx }; |
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; |
@@ -233,6 +238,11 @@ static void InitializeArrayConstructorDescriptor( |
descriptor->stack_parameter_count_ = eax; |
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; |
@@ -261,6 +271,10 @@ static void InitializeInternalArrayConstructorDescriptor( |
descriptor->stack_parameter_count_ = eax; |
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; |