| Index: src/arm/code-stubs-arm.cc
|
| diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc
|
| index fdb47b93cd0c2908406daa5e43a82f83de21ced5..3be058ca66b310efe46aeb5b2977df038b6f7d75 100644
|
| --- a/src/arm/code-stubs-arm.cc
|
| +++ b/src/arm/code-stubs-arm.cc
|
| @@ -3562,7 +3562,6 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
|
| // Setup frame pointer for the frame to be pushed.
|
| __ add(fp, sp, Operand(-EntryFrameConstants::kCallerFPOffset));
|
|
|
| -#ifdef ENABLE_LOGGING_AND_PROFILING
|
| // If this is the outermost JS call, set js_entry_sp value.
|
| Label non_outermost_js;
|
| ExternalReference js_entry_sp(Isolate::k_js_entry_sp_address, isolate);
|
| @@ -3578,7 +3577,6 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
|
| __ mov(ip, Operand(Smi::FromInt(StackFrame::INNER_JSENTRY_FRAME)));
|
| __ bind(&cont);
|
| __ push(ip);
|
| -#endif
|
|
|
| // Call a faked try-block that does the invoke.
|
| __ bl(&invoke);
|
| @@ -3639,7 +3637,6 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
|
| __ PopTryHandler();
|
|
|
| __ bind(&exit); // r0 holds result
|
| -#ifdef ENABLE_LOGGING_AND_PROFILING
|
| // Check if the current stack frame is marked as the outermost JS frame.
|
| Label non_outermost_js_2;
|
| __ pop(r5);
|
| @@ -3649,7 +3646,6 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
|
| __ mov(r5, Operand(ExternalReference(js_entry_sp)));
|
| __ str(r6, MemOperand(r5));
|
| __ bind(&non_outermost_js_2);
|
| -#endif
|
|
|
| // Restore the top frame descriptors from the stack.
|
| __ pop(r3);
|
|
|