Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 0361828eb5f901823404ca4ad571cfcc189b5f30..5b87081b846480eb08907a78fbbc0ad5b31638c6 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3634,6 +3634,13 @@ void MacroAssembler::Prologue(bool code_pre_aging) { |
} |
+void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
+ movp(vector, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); |
+ movp(vector, FieldOperand(vector, JSFunction::kSharedFunctionInfoOffset)); |
+ movp(vector, FieldOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); |
+} |
+ |
+ |
void MacroAssembler::EnterFrame(StackFrame::Type type, |
bool load_constant_pool_pointer_reg) { |
// Out-of-line constant pool not implemented on x64. |