Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index e790ba33049a7173d810de0bbc7a5a3ad7b772e8..29e22cc5b36ba5533d5fa3ae8812f8a6a0ec5a30 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -966,6 +966,8 @@ void Builtins::Generate_JSConstructEntryTrampoline(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). |
@@ -1026,11 +1028,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ Bind(&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); |