Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index 22c313ee047c31e2a0cece20cc28b48c433b2b36..b3cf255736d812c15b97c4f136935799d792b52c 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -233,6 +233,7 @@ Handle<Object> Context::Lookup(Handle<String> name, ContextLookupFlags flags, |
} |
*index = r.slot_index; |
*variable_mode = r.mode; |
+ *init_flag = r.init_flag; |
*attributes = GetAttributesForMode(r.mode); |
return ScriptContextTable::GetContext(script_contexts, |
r.context_index); |