Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index b28a505a7acac5bf37858e580e55e7a0ec0a02c2..0ecd36fe1927151b0208f291d0e6d365b2e8494f 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -31,14 +31,12 @@ static void InitializeArrayConstructorDescriptor( |
Runtime::kArrayConstructor)->entry; |
if (constant_stack_parameter_count == 0) { |
- CallInterfaceDescriptor* call_descriptor = isolate->call_descriptor( |
- CallDescriptorKey::ArrayConstructorConstantArgCountCall); |
+ ArrayConstructorConstantArgCountDescriptor call_descriptor(isolate); |
descriptor->Initialize(major, call_descriptor, deopt_handler, |
constant_stack_parameter_count, |
JS_FUNCTION_STUB_MODE); |
} else { |
- CallInterfaceDescriptor* call_descriptor = |
- isolate->call_descriptor(CallDescriptorKey::ArrayConstructorCall); |
+ ArrayConstructorDescriptor call_descriptor(isolate); |
descriptor->Initialize(major, call_descriptor, x0, deopt_handler, |
constant_stack_parameter_count, |
JS_FUNCTION_STUB_MODE, PASS_ARGUMENTS); |
@@ -72,14 +70,12 @@ static void InitializeInternalArrayConstructorDescriptor( |
Runtime::kInternalArrayConstructor)->entry; |
if (constant_stack_parameter_count == 0) { |
- CallInterfaceDescriptor* call_descriptor = isolate->call_descriptor( |
- CallDescriptorKey::InternalArrayConstructorConstantArgCountCall); |
+ InternalArrayConstructorConstantArgCountDescriptor call_descriptor(isolate); |
descriptor->Initialize(major, call_descriptor, deopt_handler, |
constant_stack_parameter_count, |
JS_FUNCTION_STUB_MODE); |
} else { |
- CallInterfaceDescriptor* call_descriptor = isolate->call_descriptor( |
- CallDescriptorKey::InternalArrayConstructorCall); |
+ InternalArrayConstructorDescriptor call_descriptor(isolate); |
descriptor->Initialize(major, call_descriptor, x0, deopt_handler, |
constant_stack_parameter_count, |
JS_FUNCTION_STUB_MODE, PASS_ARGUMENTS); |
@@ -1431,7 +1427,7 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { |
void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
Label miss; |
- Register receiver = LoadConvention::ReceiverRegister(); |
+ Register receiver = LoadDescriptor::ReceiverRegister(); |
NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, x10, |
x11, &miss); |
@@ -4305,14 +4301,14 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
+ EmitLoadTypeFeedbackVector(masm, VectorLoadICDescriptor::VectorRegister()); |
VectorLoadStub stub(isolate(), state()); |
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
} |
void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
+ EmitLoadTypeFeedbackVector(masm, VectorLoadICDescriptor::VectorRegister()); |
VectorKeyedLoadStub stub(isolate()); |
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
} |