Lines Matching refs:DCHECK
90 DCHECK(reinterpret_cast<const AstRawString*>(p->key) == name);
122 DCHECK(was_added);
136 DCHECK(was_added);
227 DCHECK(scope_info->HasPositionInfo());
244 DCHECK(!scope_info.is_null());
280 DCHECK(!is_eval_scope());
284 DCHECK(IsClassConstructor(function_kind()));
306 DCHECK(was_added);
448 DCHECK(!scope_info.HasOuterScopeInfo());
480 DCHECK(scope_info.HasInlinedLocalNames());
497 DCHECK(!cache_scope_found);
559 DCHECK(is_declaration_scope());
564 DCHECK(is_declaration_scope());
569 DCHECK(is_module_scope());
574 DCHECK(is_module_scope());
579 DCHECK(is_class_scope());
584 DCHECK(is_class_scope());
594 DCHECK(is_sloppy(language_mode()));
595 DCHECK(is_function_scope() || is_eval_scope() || is_script_scope() ||
597 DCHECK(HasSimpleParameters() || is_block_scope() || is_being_lazily_parsed_);
605 DCHECK(parameter_scope->is_function_scope() || is_eval_scope() ||
648 DCHECK(!is_being_lazily_parsed_);
659 DCHECK(ok);
669 DCHECK(is_being_lazily_parsed_);
703 DCHECK(scope->is_script_scope() || scope->outer_scope()->is_script_scope() ||
733 DCHECK(has_this_declaration());
747 DCHECK(is_function_scope());
748 DCHECK(!is_arrow_scope());
780 DCHECK(is_function_scope());
781 DCHECK(!is_arrow_scope());
788 DCHECK(was_added);
795 DCHECK(was_added);
801 DCHECK(is_function_scope());
804 DCHECK(this->IsOuterScopeOf(cache));
820 DCHECK(is_function_scope() || is_module_scope() || is_repl_mode_scope());
830 DCHECK(is_block_scope());
841 DCHECK(!is_class_scope());
869 DCHECK(!is_declaration_scope() ||
884 DCHECK(!already_resolved_);
895 DCHECK(new_parent->unresolved_list_.is_empty());
943 DCHECK(!already_resolved_);
950 DCHECK(!scope_info_.is_null());
951 DCHECK(this->IsOuterScopeOf(cache));
952 DCHECK(!cache->deserialized_scope_uses_external_cache());
1004 DCHECK(was_added);
1014 DCHECK(!already_resolved_);
1015 DCHECK(is_function_scope() || is_module_scope());
1016 DCHECK(!has_rest_);
1017 DCHECK(!is_optional || !is_rest);
1018 DCHECK(!is_being_lazily_parsed_);
1019 DCHECK(!was_lazily_parsed_);
1026 DCHECK(var->is_parameter());
1044 DCHECK(!already_resolved_);
1045 DCHECK(is_function_scope() || is_module_scope());
1046 DCHECK(is_being_lazily_parsed_);
1047 DCHECK(!has_rest_);
1055 DCHECK(!already_resolved_);
1057 DCHECK(!IsPrivateMethodOrAccessorVariableMode(mode));
1062 DCHECK(IsDeclaredVariableMode(mode));
1066 DCHECK(!GetDeclarationScope()->was_lazily_parsed());
1091 DCHECK(!IsPrivateMethodOrAccessorVariableMode(mode));
1092 DCHECK(IsDeclaredVariableMode(mode));
1093 DCHECK(!already_resolved_);
1094 DCHECK(!GetDeclarationScope()->is_being_lazily_parsed());
1095 DCHECK(!GetDeclarationScope()->was_lazily_parsed());
1102 DCHECK(!is_catch_scope());
1103 DCHECK(!is_with_scope());
1104 DCHECK(is_declaration_scope() ||
1126 DCHECK(*was_added);
1174 DCHECK(IsDeclaredVariableMode(mode));
1175 DCHECK(!already_resolved_);
1176 DCHECK(GetDeclarationScope()->is_being_lazily_parsed());
1178 DCHECK(!IsPrivateMethodOrAccessorVariableMode(mode));
1183 DCHECK(!is_with_scope());
1184 DCHECK(!is_eval_scope());
1185 DCHECK(is_declaration_scope() || IsLexicalVariableMode(mode));
1186 DCHECK(scope_info_.is_null());
1208 DCHECK(!already_resolved_);
1209 DCHECK(is_catch_scope());
1210 DCHECK(scope_info_.is_null());
1215 DCHECK(was_added);
1220 DCHECK(!already_resolved_);
1221 DCHECK(!proxy->is_resolved());
1228 DCHECK(is_script_scope());
1241 DCHECK(unresolved_list_.Contains(var));
1269 DCHECK(decl->var()->mode() == VariableMode::kVar ||
1281 DCHECK(IsLexicalVariableMode(other_var->mode()));
1340 DCHECK(has_this_declaration());
1358 DCHECK(info->pending_error_handler()->has_pending_error());
1363 DCHECK(info->pending_error_handler()->has_pending_error());
1405 DCHECK(s->is_module_scope() || s->is_block_scope() ||
1477 DCHECK(!already_resolved_);
1478 DCHECK(GetClosureScope()->ShouldEagerCompile());
1507 DCHECK(scope->IsConstructorScope());
1525 DCHECK(scope->outer_scope()->is_class_scope());
1607 DCHECK(!proxy->is_resolved());
1640 DCHECK(!proxy->is_resolved());
1672 DCHECK(is_function_scope());
1740 DCHECK(!force_eager_compilation_);
1773 DCHECK(is_script_scope());
2040 DCHECK(!needs_migration_);
2054 DCHECK(IsDynamicVariableMode(mode));
2089 DCHECK(scope->deserialized_scope_uses_external_cache() ||
2137 DCHECK(!scope->is_script_scope());
2184 DCHECK(scope->is_with_scope());
2202 DCHECK(!scope->already_resolved_);
2224 DCHECK(scope->is_declaration_scope() &&
2275 DCHECK(!proxy->is_resolved());
2391 DCHECK(var->location() != VariableLocation::MODULE);
2400 DCHECK(!var->has_forced_context_allocation() || var->is_used());
2439 DCHECK(is_function_scope());
2443 DCHECK(!is_arrow_scope());
2465 DCHECK(!has_rest_ || var != rest_parameter());
2480 DCHECK(var->IsUnallocated() || var->IsContextSlot());
2483 DCHECK(var->IsUnallocated() || var->IsParameter());
2546 DCHECK(!has_rest_ || !MustAllocate(rest_parameter()) ||
2561 DCHECK(!var->IsExport());
2567 DCHECK(var->IsExport());
2573 DCHECK(!scope->already_resolved_);
2615 DCHECK(scope->num_heap_slots_ == 0 ||
2624 DCHECK(scope_info_.is_null());
2663 DCHECK(needs_private_name_context_chain_recalc_);
2697 DCHECK(scope->scope_info_.is_null());
2701 DCHECK((std::is_same<Isolate, v8::internal::Isolate>::value));
2755 DCHECK(needs_home_object());
2769 DCHECK(was_added);
2811 DCHECK(!maybe_scope_info.is_null());
2917 DCHECK(!scope_info_.is_null());
2927 DCHECK(IsConstVariableMode(lookup_result.mode));
2936 DCHECK(was_added);
2942 DCHECK(!proxy->is_resolved());
2972 DCHECK(info->flags().is_eval() || outer_scope_->is_script_scope());
3009 DCHECK(proxy->IsPrivateName());
3047 DCHECK(unresolved.is_empty());
3060 DCHECK(was_added);
3079 DCHECK(was_added);
3092 DCHECK(!Done());
3113 DCHECK(!proxy->is_resolved());
3114 DCHECK(proxy->IsPrivateName());