Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 4f331c2fcbaed51234404b246d34783498f02412..5117e42108822d2fa2e869e333abdb86f5dac3fb 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -518,6 +518,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
// The function builds an interpreter frame. See InterpreterFrameConstants in |
// frames.h for its layout. |
void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
+ ProfileEntryHookStub::MaybeCallEntryHook(masm); |
+ |
// Open a frame scope to indicate that there is a frame on the stack. The |
// MANUAL indicates that the scope shouldn't actually generate code to set up |
// the frame (that is done below). |
@@ -584,11 +586,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ j(greater_equal, &loop_header); |
} |
- // TODO(rmcilroy): List of things not currently dealt with here but done in |
- // fullcodegen's prologue: |
- // - Call ProfileEntryHookStub when isolate has a function_entry_hook. |
- // - Code aging of the BytecodeArray object. |
- |
// Load accumulator, register file, bytecode offset, dispatch table into |
// registers. |
__ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); |