Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index dbd74ab8a0cb57c20b02312ed518b9b32e13e241..d19de18acdee01215bacb07b66b6d17258c41414 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -508,6 +508,7 @@ void FullCodeGenerator::EmitGlobalVariableLoad(VariableProxy* proxy, |
proxy->VariableFeedbackSlot()); |
Handle<Code> code = CodeFactory::LoadGlobalIC(isolate(), typeof_mode).code(); |
__ Call(code, RelocInfo::CODE_TARGET); |
+ RestoreContext(); |
} |
void FullCodeGenerator::VisitSloppyBlockFunctionStatement( |