Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 3c42194e0102fd4ee38a3b1cf46126557243f3d9..c0468490b0c029e9a0301abb3171ed875b230263 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -2780,6 +2780,14 @@ void MacroAssembler::Prologue(bool code_pre_aging) { |
} |
+void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
+ Ldr(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
+ Ldr(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); |
+ Ldr(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 arm64. |