| 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 5aa64094413334f8c34215394442f3097c711dd9..c561293655424a76cbc0ee359cd8ed46fea08d2d 100644 | 
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc | 
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc | 
| @@ -5032,13 +5032,13 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { | 
| break; | 
|  | 
| case Token::INSTANCEOF: { | 
| -      VisitForStackValue(expr->right()); | 
| -      InstanceofStub stub(isolate(), InstanceofStub::kNoFlags); | 
| +      VisitForAccumulatorValue(expr->right()); | 
| +      __ Pop(edx); | 
| +      InstanceOfStub stub(isolate()); | 
| __ CallStub(&stub); | 
| -      PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); | 
| -      __ test(eax, eax); | 
| -      // The stub returns 0 for true. | 
| -      Split(zero, if_true, if_false, fall_through); | 
| +      PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); | 
| +      __ cmp(eax, isolate()->factory()->true_value()); | 
| +      Split(equal, if_true, if_false, fall_through); | 
| break; | 
| } | 
|  | 
|  |