[cleanup] Remove dead InitializeDescriptor method
R=ishell@chromium.org Bug: v8:7754 Change-Id: I122139207ef5be4d7cc9f2a7cbe2a89ea337f77f Reviewed-on: https://chromium-review.googlesource.com/1101324 Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#53758}
This commit is contained in:
parent
bae176e427
commit
c032039bf0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user