Commit c032039b authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[cleanup] Remove dead InitializeDescriptor method

R=ishell@chromium.org

Bug: v8:7754
Change-Id: I122139207ef5be4d7cc9f2a7cbe2a89ea337f77f
Reviewed-on: https://chromium-review.googlesource.com/1101324Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53758}
parent bae176e4
......@@ -36,9 +36,7 @@ CodeStubDescriptor::CodeStubDescriptor(CodeStub* stub)
function_mode_(NOT_JS_FUNCTION_STUB_MODE),
deoptimization_handler_(kNullAddress),
miss_handler_(),
has_miss_handler_(false) {
stub->InitializeDescriptor(this);
}
has_miss_handler_(false) {}
CodeStubDescriptor::CodeStubDescriptor(Isolate* isolate, uint32_t stub_key)
: isolate_(isolate),
......@@ -231,7 +229,6 @@ static void InitializeDescriptorDispatchedCall(CodeStub* stub,
void** value_out) {
CodeStubDescriptor* descriptor_out =
reinterpret_cast<CodeStubDescriptor*>(value_out);
stub->InitializeDescriptor(descriptor_out);
descriptor_out->set_call_descriptor(stub->GetCallInterfaceDescriptor());
}
......
......@@ -135,8 +135,6 @@ class CodeStub : public ZoneObject {
return GetCallInterfaceDescriptor().GetStackParameterCount();
}
virtual void InitializeDescriptor(CodeStubDescriptor* descriptor) {}
static void InitializeDescriptor(Isolate* isolate, uint32_t key,
CodeStubDescriptor* desc);
......
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