| Index: src/full-codegen/ia32/full-codegen-ia32.cc
 | 
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
 | 
| index 30351539fce77567ddb7126adad7195241c8a0db..3440868624158fbf25005efc04646f83d9909e54 100644
 | 
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
 | 
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
 | 
| @@ -232,6 +232,11 @@ void FullCodeGenerator::Generate() {
 | 
|      }
 | 
|    }
 | 
|  
 | 
| +  PrepareForBailoutForId(BailoutId::Prologue(), NO_REGISTERS);
 | 
| +  // Function register is trashed in case we bailout here. But since that
 | 
| +  // could happen only when we allocate a context the value of
 | 
| +  // |function_in_register| is correct.
 | 
| +
 | 
|    // Possibly set up a local binding to the this function which is used in
 | 
|    // derived constructors with super calls.
 | 
|    Variable* this_function_var = scope()->this_function_var();
 | 
| @@ -239,7 +244,7 @@ void FullCodeGenerator::Generate() {
 | 
|      Comment cmnt(masm_, "[ This function");
 | 
|      if (!function_in_register) {
 | 
|        __ mov(edi, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset));
 | 
| -      // The write barrier clobbers register again, keep is marked as such.
 | 
| +      // The write barrier clobbers register again, keep it marked as such.
 | 
|      }
 | 
|      SetVar(this_function_var, edi, ebx, edx);
 | 
|    }
 | 
| 
 |