Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index da467ccc835eacbbcffbbd6a47e40fe63c5a65db..8c93299da1df9980993c37c5a1ce79e82e3b1519 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1043,6 +1043,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) { |
// r0-r3: preserved |