Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 2c0cca589c1c00e1490e28a7234ebbec7e70afaa..00aac5325d9f4de3597e69b67ec154ba5fccbb1d 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2576,6 +2576,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
SetExpressionPosition(expr); |
PopOperand(rdx); |
__ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET); |
+ RestoreContext(); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ CompareRoot(rax, Heap::kTrueValueRootIndex); |
Split(equal, if_true, if_false, fall_through); |