Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 163fd9bd7e8fe7f1dbd450720630f0fc7e89f215..b8aff87a3ba5f809672dd5edbd866ded7be03ad6 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -238,6 +238,7 @@ void FullCodeGenerator::CallLoadGlobalIC(TypeofMode typeof_mode, |
void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) { |
Handle<Code> ic = CodeFactory::StoreIC(isolate(), language_mode()).code(); |
CallIC(ic, id); |
+ RestoreContext(); |
} |
void FullCodeGenerator::CallKeyedStoreIC() { |