Lines Matching refs:hydrogen_env
516 HEnvironment* hydrogen_env = current_block->last_environment(); in CreateLazyBailoutForCall() local
518 DCHECK_NOT_NULL(hydrogen_env); in CreateLazyBailoutForCall()
523 hydrogen_env = hydrogen_env->outer(); in CreateLazyBailoutForCall()
524 while (hydrogen_env != nullptr && in CreateLazyBailoutForCall()
525 (hydrogen_env->frame_type() == ARGUMENTS_ADAPTOR || in CreateLazyBailoutForCall()
526 hydrogen_env->frame_type() == TAIL_CALLER_FUNCTION)) { in CreateLazyBailoutForCall()
527 hydrogen_env = hydrogen_env->outer(); in CreateLazyBailoutForCall()
529 if (hydrogen_env != nullptr) { in CreateLazyBailoutForCall()
530 if (hydrogen_env->frame_type() == JS_FUNCTION) { in CreateLazyBailoutForCall()
540 hydrogen_env = hydrogen_env->Copy(); in CreateLazyBailoutForCall()
541 hydrogen_env->Push(hydrogen_val); in CreateLazyBailoutForCall()
547 hydrogen_env = current_block->last_environment(); in CreateLazyBailoutForCall()
552 sim->ReplayEnvironment(hydrogen_env); in CreateLazyBailoutForCall()
557 new (zone()) LLazyBailout(), hydrogen_env); in CreateLazyBailoutForCall()
563 HEnvironment* hydrogen_env) { in AssignEnvironment() argument
566 DCHECK_NE(TAIL_CALLER_FUNCTION, hydrogen_env->frame_type()); in AssignEnvironment()
568 hydrogen_env, &argument_index_accumulator, &objects_to_materialize)); in AssignEnvironment()
573 HEnvironment* hydrogen_env, int* argument_index_accumulator, in CreateEnvironment() argument
575 if (hydrogen_env == NULL) return NULL; in CreateEnvironment()
577 BailoutId ast_id = hydrogen_env->ast_id(); in CreateEnvironment()
579 (hydrogen_env->frame_type() != JS_FUNCTION && in CreateEnvironment()
580 hydrogen_env->frame_type() != TAIL_CALLER_FUNCTION)); in CreateEnvironment()
582 if (hydrogen_env->frame_type() == TAIL_CALLER_FUNCTION) { in CreateEnvironment()
584 HEnvironment* outer_hydrogen_env = hydrogen_env->outer(); in CreateEnvironment()
592 LEnvironment(hydrogen_env->closure(), hydrogen_env->frame_type(), in CreateEnvironment()
593 ast_id, 0, 0, 0, outer, hydrogen_env->entry(), zone()); in CreateEnvironment()
597 CreateEnvironment(hydrogen_env->outer(), argument_index_accumulator, in CreateEnvironment()
600 int omitted_count = (hydrogen_env->frame_type() == JS_FUNCTION) in CreateEnvironment()
602 : hydrogen_env->specials_count(); in CreateEnvironment()
604 int value_count = hydrogen_env->length() - omitted_count; in CreateEnvironment()
606 new(zone()) LEnvironment(hydrogen_env->closure(), in CreateEnvironment()
607 hydrogen_env->frame_type(), in CreateEnvironment()
609 hydrogen_env->parameter_count(), in CreateEnvironment()
613 hydrogen_env->entry(), in CreateEnvironment()
619 for (int i = 0; i < hydrogen_env->length(); ++i) { in CreateEnvironment()
620 if (hydrogen_env->is_special_index(i) && in CreateEnvironment()
621 hydrogen_env->frame_type() != JS_FUNCTION) { in CreateEnvironment()
625 HValue* value = hydrogen_env->values()->at(i); in CreateEnvironment()
638 for (int i = 0; i < hydrogen_env->length(); ++i) { in CreateEnvironment()
639 if (hydrogen_env->is_special_index(i)) continue; in CreateEnvironment()
641 HValue* value = hydrogen_env->values()->at(i); in CreateEnvironment()
647 if (hydrogen_env->frame_type() == JS_FUNCTION) { in CreateEnvironment()