Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 311fb450e63dd27096a725bc0ccfa23397b8c647..b12cb718ab965321f8fef7fe4a5302e7467c91f1 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -2632,15 +2632,6 @@ void CallConstructStub::Generate(MacroAssembler* masm) { |
} |
-static void EmitLoadTypeFeedbackVector(MacroAssembler* masm, Register vector) { |
- __ lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
- __ lw(vector, FieldMemOperand(vector, |
- JSFunction::kSharedFunctionInfoOffset)); |
- __ lw(vector, FieldMemOperand(vector, |
- SharedFunctionInfo::kFeedbackVectorOffset)); |
-} |
- |
- |
void CallICStub::HandleArrayCase(MacroAssembler* masm, Label* miss) { |
// a1 - function |
// a3 - slot id |
@@ -4458,21 +4449,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, a2); |
+ __ EmitLoadTypeFeedbackVector(a2); |
CallICStub stub(isolate(), state()); |
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
} |
@@ -4693,14 +4684,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); |
} |