Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 38b4440863be77046f849022dccbcf667e3a3e3b..d014f2b41fb2bed8e1d6b23e916a75eaeccb6473 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -596,6 +596,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). |
@@ -661,11 +663,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ j(greater_equal, &loop_header, Label::kNear); |
} |
- // 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); |