Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 5c000ea140936fbf8d269c64ebe75ccc0ad182e6..986040ba0dd331534d1114f314f37f8beb276cd2 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -2634,6 +2634,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
SetExpressionPosition(expr); |
PopOperand(x1); |
__ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET); |
+ RestoreContext(); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ CompareRoot(x0, Heap::kTrueValueRootIndex); |
Split(eq, if_true, if_false, fall_through); |