Cleanup code-stub interface descriptor initialization.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/12302017

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13688 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f31a50dc
...@@ -48,7 +48,6 @@ void KeyedLoadFastElementStub::InitializeInterfaceDescriptor( ...@@ -48,7 +48,6 @@ void KeyedLoadFastElementStub::InitializeInterfaceDescriptor(
static Register registers[] = { edx, ecx }; static Register registers[] = { edx, ecx };
descriptor->register_param_count_ = 2; descriptor->register_param_count_ = 2;
descriptor->register_params_ = registers; descriptor->register_params_ = registers;
descriptor->stack_parameter_count_ = NULL;
descriptor->deoptimization_handler_ = descriptor->deoptimization_handler_ =
FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
} }
......
...@@ -2016,8 +2016,6 @@ bool Isolate::Init(Deserializer* des) { ...@@ -2016,8 +2016,6 @@ bool Isolate::Init(Deserializer* des) {
date_cache_ = new DateCache(); date_cache_ = new DateCache();
code_stub_interface_descriptors_ = code_stub_interface_descriptors_ =
new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS]; new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS];
memset(code_stub_interface_descriptors_, 0,
kPointerSize * CodeStub::NUMBER_OF_IDS);
// Enable logging before setting up the heap // Enable logging before setting up the heap
logger_->SetUp(); logger_->SetUp();
......
...@@ -45,7 +45,6 @@ void KeyedLoadFastElementStub::InitializeInterfaceDescriptor( ...@@ -45,7 +45,6 @@ void KeyedLoadFastElementStub::InitializeInterfaceDescriptor(
static Register registers[] = { rdx, rax }; static Register registers[] = { rdx, rax };
descriptor->register_param_count_ = 2; descriptor->register_param_count_ = 2;
descriptor->register_params_ = registers; descriptor->register_params_ = registers;
descriptor->stack_parameter_count_ = NULL;
descriptor->deoptimization_handler_ = descriptor->deoptimization_handler_ =
FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment