Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index fe8164a9b7009fb41dd28bd43b54551526f0a1bc..e973471572e95425c6e095b5399acd476860a572 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -753,6 +753,14 @@ void MacroAssembler::Prologue(bool code_pre_aging, int prologue_offset) { |
} |
+void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
+ LoadP(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
+ LoadP(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); |
+ LoadP(vector, |
+ FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); |
+} |
+ |
+ |
void MacroAssembler::EnterFrame(StackFrame::Type type, |
bool load_constant_pool_pointer_reg) { |
if (FLAG_enable_embedded_constant_pool && load_constant_pool_pointer_reg) { |