| Index: src/ia32/code-stubs-ia32.cc
 | 
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
 | 
| index e3eb122bc6568641f8df5b2a8c58c20579c8bbba..7ac4f5293dd47017ca58a3d2737101900e2af7d5 100644
 | 
| --- a/src/ia32/code-stubs-ia32.cc
 | 
| +++ b/src/ia32/code-stubs-ia32.cc
 | 
| @@ -4380,9 +4380,7 @@ void CEntryStub::Generate(MacroAssembler* masm) {
 | 
|  
 | 
|  void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
 | 
|    Label invoke, exit;
 | 
| -#ifdef ENABLE_LOGGING_AND_PROFILING
 | 
|    Label not_outermost_js, not_outermost_js_2;
 | 
| -#endif
 | 
|  
 | 
|    // Setup frame.
 | 
|    __ push(ebp);
 | 
| @@ -4401,7 +4399,6 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
 | 
|    ExternalReference c_entry_fp(Isolate::k_c_entry_fp_address, masm->isolate());
 | 
|    __ push(Operand::StaticVariable(c_entry_fp));
 | 
|  
 | 
| -#ifdef ENABLE_LOGGING_AND_PROFILING
 | 
|    // If this is the outermost JS call, set js_entry_sp value.
 | 
|    ExternalReference js_entry_sp(Isolate::k_js_entry_sp_address,
 | 
|                                  masm->isolate());
 | 
| @@ -4414,7 +4411,6 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
 | 
|    __ bind(¬_outermost_js);
 | 
|    __ push(Immediate(Smi::FromInt(StackFrame::INNER_JSENTRY_FRAME)));
 | 
|    __ bind(&cont);
 | 
| -#endif
 | 
|  
 | 
|    // Call a faked try-block that does the invoke.
 | 
|    __ call(&invoke);
 | 
| @@ -4462,7 +4458,6 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
 | 
|    __ PopTryHandler();
 | 
|  
 | 
|    __ bind(&exit);
 | 
| -#ifdef ENABLE_LOGGING_AND_PROFILING
 | 
|    // Check if the current stack frame is marked as the outermost JS frame.
 | 
|    __ pop(ebx);
 | 
|    __ cmp(Operand(ebx),
 | 
| @@ -4470,7 +4465,6 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
 | 
|    __ j(not_equal, ¬_outermost_js_2);
 | 
|    __ mov(Operand::StaticVariable(js_entry_sp), Immediate(0));
 | 
|    __ bind(¬_outermost_js_2);
 | 
| -#endif
 | 
|  
 | 
|    // Restore the top frame descriptor from the stack.
 | 
|    __ pop(Operand::StaticVariable(ExternalReference(
 | 
| 
 |