Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index e66fad9092c7a1e62f74c35e44308a29d7573a28..2280a2d6d275938e52086c30e6ecaa2d46fa589f 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -4825,6 +4825,14 @@ void MacroAssembler::Prologue(bool code_pre_aging) { |
} |
+void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
+ lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
+ lw(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); |
+ lw(vector, |
+ FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); |
+} |
+ |
+ |
void MacroAssembler::EnterFrame(StackFrame::Type type, |
bool load_constant_pool_pointer_reg) { |
// Out-of-line constant pool not implemented on mips. |