Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index c0f2adbe5878cef60eb8c7cba9820c0dca412b1a..9b0b0cf8ec9b3453197c2620d8b2f46f1cc573a4 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -869,6 +869,13 @@ void MacroAssembler::Prologue(bool code_pre_aging) { |
} |
+void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
+ mov(vector, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); |
+ mov(vector, FieldOperand(vector, JSFunction::kSharedFunctionInfoOffset)); |
+ mov(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 ia32. |