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 8acf07b2e83432f86e702670e17f584fa2e9b7d0..a941507c6ab6c1710c3086a03d39ad93d96075c1 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -2592,6 +2592,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
SetExpressionPosition(expr); |
PopOperand(edx); |
__ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET); |
+ RestoreContext(); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ cmp(eax, isolate()->factory()->true_value()); |
Split(equal, if_true, if_false, fall_through); |