Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 6182094e821933230802568745df22e03b9b5872..163fd9bd7e8fe7f1dbd450720630f0fc7e89f215 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -244,6 +244,7 @@ void FullCodeGenerator::CallKeyedStoreIC() { |
Handle<Code> ic = |
CodeFactory::KeyedStoreIC(isolate(), language_mode()).code(); |
CallIC(ic); |
+ RestoreContext(); |
} |
void FullCodeGenerator::RecordJSReturnSite(Call* call) { |
@@ -1093,7 +1094,7 @@ void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { |
__ Move(LoadDescriptor::SlotRegister(), |
SmiFromSlot(prop->PropertyFeedbackSlot())); |
CallIC(ic); |
- if (FLAG_tf_load_ic_stub) RestoreContext(); |
+ RestoreContext(); |
} |
void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) { |