Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index dd84159222f29eed0a7082de097da2cd7a5641e3..e39e08831a077fce05ce5efa845b790552a52633 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -2893,15 +2893,6 @@ void CallConstructStub::Generate(MacroAssembler* masm) { |
} |
-static void EmitLoadTypeFeedbackVector(MacroAssembler* masm, Register vector) { |
- __ Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
- __ Ldr(vector, FieldMemOperand(vector, |
- JSFunction::kSharedFunctionInfoOffset)); |
- __ Ldr(vector, FieldMemOperand(vector, |
- SharedFunctionInfo::kFeedbackVectorOffset)); |
-} |
- |
- |
void CallICStub::HandleArrayCase(MacroAssembler* masm, Label* miss) { |
// x1 - function |
// x3 - slot id |
@@ -4377,21 +4368,21 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); |
+ __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); |
LoadICStub stub(isolate(), state()); |
stub.GenerateForTrampoline(masm); |
} |
void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); |
+ __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); |
KeyedLoadICStub stub(isolate(), state()); |
stub.GenerateForTrampoline(masm); |
} |
void CallICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, x2); |
+ __ EmitLoadTypeFeedbackVector(x2); |
CallICStub stub(isolate(), state()); |
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
} |
@@ -4608,14 +4599,14 @@ void KeyedLoadICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
void VectorStoreICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, VectorStoreICDescriptor::VectorRegister()); |
+ __ EmitLoadTypeFeedbackVector(VectorStoreICDescriptor::VectorRegister()); |
VectorStoreICStub stub(isolate(), state()); |
stub.GenerateForTrampoline(masm); |
} |
void VectorKeyedStoreICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, VectorStoreICDescriptor::VectorRegister()); |
+ __ EmitLoadTypeFeedbackVector(VectorStoreICDescriptor::VectorRegister()); |
VectorKeyedStoreICStub stub(isolate(), state()); |
stub.GenerateForTrampoline(masm); |
} |