Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index b04623a3bdebe2e42ba9b1b704bc10ca8b7b712b..b1283be92fff40ed0d836181cf3ecc56287abf54 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -2582,6 +2582,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); |