Lines Matching refs:current_scope
212 Scope* current_scope = NULL; in DeserializeScopeChain() local
218 Scope(zone, current_scope, WITH_SCOPE, Handle<ScopeInfo>::null(), in DeserializeScopeChain()
220 current_scope = with_scope; in DeserializeScopeChain()
227 current_scope = new (zone) Scope(zone, current_scope, SCRIPT_SCOPE, in DeserializeScopeChain()
232 current_scope = new (zone) Scope(zone, current_scope, MODULE_SCOPE, in DeserializeScopeChain()
237 current_scope = new (zone) Scope(zone, current_scope, FUNCTION_SCOPE, in DeserializeScopeChain()
240 if (scope_info->IsAsmFunction()) current_scope->asm_function_ = true; in DeserializeScopeChain()
241 if (scope_info->IsAsmModule()) current_scope->asm_module_ = true; in DeserializeScopeChain()
244 current_scope = new (zone) in DeserializeScopeChain()
245 Scope(zone, current_scope, BLOCK_SCOPE, Handle<ScopeInfo>(scope_info), in DeserializeScopeChain()
250 current_scope = new (zone) Scope( in DeserializeScopeChain()
251 zone, current_scope, in DeserializeScopeChain()
255 if (innermost_scope == NULL) innermost_scope = current_scope; in DeserializeScopeChain()
259 script_scope->AddInnerScope(current_scope); in DeserializeScopeChain()