Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 0c6cde83549997e1ae5608733748524aa3e9e9e9..9ca85c607b6bfd09bdb2bb13ad07588cf0b67d7f 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1597,6 +1597,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
} else { |
FastCloneShallowArrayStub stub(isolate(), allocation_site_mode); |
__ CallStub(&stub); |
+ RestoreContext(); |
} |
PrepareForBailoutForId(expr->CreateLiteralId(), BailoutState::TOS_REGISTER); |