Index: src/s390/builtins-s390.cc |
diff --git a/src/s390/builtins-s390.cc b/src/s390/builtins-s390.cc |
index 98c7a1e18f256df30875a3c5180ab458b55a5de5..5aba5ac25669c991bc9af385ce61a88375eebde0 100644 |
--- a/src/s390/builtins-s390.cc |
+++ b/src/s390/builtins-s390.cc |
@@ -958,6 +958,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). |
@@ -1024,11 +1026,6 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ bind(&no_args); |
} |
- // 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); |