Remove duplicated initialization of stack_parameter_count_ of hydrogen stub descriptor.
R=verwaest@chromium.org Review URL: https://chromiumcodereview.appspot.com/16097004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14897 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
5b08a1a119
commit
d0d7619d09
@ -45,7 +45,6 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { r3, r2, r1 };
|
||||
descriptor->register_param_count_ = 3;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
Runtime::FunctionForId(Runtime::kCreateArrayLiteralShallow)->entry;
|
||||
}
|
||||
@ -57,7 +56,6 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { r3, r2, r1, r0 };
|
||||
descriptor->register_param_count_ = 4;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
Runtime::FunctionForId(Runtime::kCreateObjectLiteralShallow)->entry;
|
||||
}
|
||||
@ -80,7 +78,6 @@ void LoadFieldStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { r0 };
|
||||
descriptor->register_param_count_ = 1;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ = NULL;
|
||||
}
|
||||
|
||||
@ -91,7 +88,6 @@ void KeyedLoadFieldStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { r1 };
|
||||
descriptor->register_param_count_ = 1;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ = NULL;
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,6 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { eax, ebx, ecx };
|
||||
descriptor->register_param_count_ = 3;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
Runtime::FunctionForId(Runtime::kCreateArrayLiteralShallow)->entry;
|
||||
}
|
||||
@ -62,7 +61,6 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { eax, ebx, ecx, edx };
|
||||
descriptor->register_param_count_ = 4;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
Runtime::FunctionForId(Runtime::kCreateObjectLiteralShallow)->entry;
|
||||
}
|
||||
@ -74,7 +72,6 @@ void KeyedLoadFastElementStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { edx, ecx };
|
||||
descriptor->register_param_count_ = 2;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
|
||||
}
|
||||
@ -86,7 +83,6 @@ void LoadFieldStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { edx };
|
||||
descriptor->register_param_count_ = 1;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ = NULL;
|
||||
}
|
||||
|
||||
@ -97,7 +93,6 @@ void KeyedLoadFieldStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { edx };
|
||||
descriptor->register_param_count_ = 1;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ = NULL;
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,6 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { a3, a2, a1 };
|
||||
descriptor->register_param_count_ = 3;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
Runtime::FunctionForId(Runtime::kCreateArrayLiteralShallow)->entry;
|
||||
}
|
||||
@ -58,7 +57,6 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { a3, a2, a1, a0 };
|
||||
descriptor->register_param_count_ = 4;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
Runtime::FunctionForId(Runtime::kCreateObjectLiteralShallow)->entry;
|
||||
}
|
||||
@ -81,7 +79,6 @@ void LoadFieldStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { a0 };
|
||||
descriptor->register_param_count_ = 1;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ = NULL;
|
||||
}
|
||||
|
||||
@ -92,7 +89,6 @@ void KeyedLoadFieldStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { a1 };
|
||||
descriptor->register_param_count_ = 1;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ = NULL;
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,6 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { rax, rbx, rcx };
|
||||
descriptor->register_param_count_ = 3;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
Runtime::FunctionForId(Runtime::kCreateArrayLiteralShallow)->entry;
|
||||
}
|
||||
@ -58,7 +57,6 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { rax, rbx, rcx, rdx };
|
||||
descriptor->register_param_count_ = 4;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ =
|
||||
Runtime::FunctionForId(Runtime::kCreateObjectLiteralShallow)->entry;
|
||||
}
|
||||
@ -81,7 +79,6 @@ void LoadFieldStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { rax };
|
||||
descriptor->register_param_count_ = 1;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ = NULL;
|
||||
}
|
||||
|
||||
@ -92,7 +89,6 @@ void KeyedLoadFieldStub::InitializeInterfaceDescriptor(
|
||||
static Register registers[] = { rdx };
|
||||
descriptor->register_param_count_ = 1;
|
||||
descriptor->register_params_ = registers;
|
||||
descriptor->stack_parameter_count_ = NULL;
|
||||
descriptor->deoptimization_handler_ = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user