Lines Matching refs:scope_info
1071 Handle<ScopeInfo> scope_info) { in NewScriptContext() argument
1072 DCHECK_EQ(scope_info->scope_type(), SCRIPT_SCOPE); in NewScriptContext()
1073 int variadic_part_length = scope_info->ContextLength(); in NewScriptContext()
1078 context->set_scope_info(*scope_info); in NewScriptContext()
1094 Handle<ScopeInfo> scope_info) { in NewModuleContext() argument
1095 DCHECK_EQ(scope_info->scope_type(), MODULE_SCOPE); in NewModuleContext()
1096 int variadic_part_length = scope_info->ContextLength(); in NewModuleContext()
1100 context->set_scope_info(*scope_info); in NewModuleContext()
1108 Handle<ScopeInfo> scope_info) { in NewFunctionContext() argument
1110 switch (scope_info->scope_type()) { in NewFunctionContext()
1120 int variadic_part_length = scope_info->ContextLength(); in NewFunctionContext()
1124 context->set_scope_info(*scope_info); in NewFunctionContext()
1130 Handle<ScopeInfo> scope_info, in NewCatchContext() argument
1132 DCHECK_EQ(scope_info->scope_type(), CATCH_SCOPE); in NewCatchContext()
1139 context->set_scope_info(*scope_info); in NewCatchContext()
1146 Handle<ScopeInfo> scope_info, in NewDebugEvaluateContext() argument
1152 DCHECK(scope_info->IsDebugEvaluateScope()); in NewDebugEvaluateContext()
1161 c->set_scope_info(*scope_info); in NewDebugEvaluateContext()
1170 Handle<ScopeInfo> scope_info, in NewWithContext() argument
1172 DCHECK_EQ(scope_info->scope_type(), WITH_SCOPE); in NewWithContext()
1178 context->set_scope_info(*scope_info); in NewWithContext()
1185 Handle<ScopeInfo> scope_info) { in NewBlockContext() argument
1186 DCHECK_IMPLIES(scope_info->scope_type() != BLOCK_SCOPE, in NewBlockContext()
1187 scope_info->scope_type() == CLASS_SCOPE); in NewBlockContext()
1188 int variadic_part_length = scope_info->ContextLength(); in NewBlockContext()
1192 context->set_scope_info(*scope_info); in NewBlockContext()
2294 code->scope_info().ModuleDescriptorInfo(), isolate()); in NewSourceTextModule()