Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index a4b144ecc1aa82de51c93c189b0e831df3b146ca..7c6d8f6f44b27ddbd346a6a6dae4836d0946c9be 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -938,6 +938,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). |
@@ -998,11 +1000,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ Branch(&loop_header, ge, a4, Operand(zero_reg)); |
} |
- // 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 bytecode offset and dispatch table into registers. |
__ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); |
__ Daddu(kInterpreterRegisterFileRegister, fp, |