Home | History | Annotate | Download | only in src

Lines Matching defs:env

220     HEnvironment* env = last_environment();
221 int argument_count = env->arguments_environment()->parameter_count();
242 HEnvironment* env = last_environment();
243 int argument_count = env->arguments_environment()->parameter_count();
254 void HBasicBlock::SetInitialEnvironment(HEnvironment* env) {
257 UpdateEnvironment(env);
261 void HBasicBlock::UpdateEnvironment(HEnvironment* env) {
262 last_environment_ = env;
263 graph()->update_maximum_environment_size(env->first_expression_index());
790 HEnvironment* env = builder->environment();
791 first_true_block_ = builder->CreateBasicBlock(env->Copy());
792 first_false_block_ = builder->CreateBasicBlock(env->Copy());
808 HEnvironment* env = builder()->environment();
809 first_true_block_ = builder()->CreateBasicBlock(env->Copy());
810 first_false_block_ = builder()->CreateBasicBlock(env->Copy());
813 HEnvironment* env = first_false_block_->last_environment();
814 HBasicBlock* split_edge = builder()->CreateBasicBlock(env->Copy());
837 HEnvironment* env = first_false_block_->last_environment();
839 split_edge_merge_block_ = builder()->CreateBasicBlock(env->Copy());
844 first_false_block_ = builder()->CreateBasicBlock(env->Copy());
852 HEnvironment* env = first_false_block_->last_environment();
854 split_edge_merge_block_ = builder()->CreateBasicBlock(env->Copy());
859 first_true_block_ = builder()->CreateBasicBlock(env->Copy());
1080 HEnvironment* env = builder_->environment();
1081 phi_ = header_block_->AddNewPhi(env->values()->length());
1083 env->Push(initial);
1086 HEnvironment* body_env = env->Copy();
1087 HEnvironment* exit_env = env->Copy();
1095 env->Pop();
1118 HEnvironment* env = builder_->environment();
1121 env->Drop(drop_count);
1129 HEnvironment* env = builder_->environment()->Copy();
1130 exit_trampoline_block_ = builder_->CreateBasicBlock(env);
1132 HEnvironment* env = exit_block_->last_environment()->Copy();
1133 exit_trampoline_block_ = builder_->CreateBasicBlock(env);
1240 HBasicBlock* HGraphBuilder::CreateBasicBlock(HEnvironment* env) {
1242 b->SetInitialEnvironment(env);
7774 HEnvironment* env = environment();
7776 while (env->outer() != NULL) {
7781 if (env->outer()->frame_type() == JS_FUNCTION) {
7784 env = env->outer();
12173 OStream& operator<<(OStream& os, const HEnvironment& env) {
12174 for (int i = 0; i < env.length(); i++) {
12176 if (i == env.parameter_count()) os << "specials\n";
12177 if (i == env.parameter_count() + env.specials_count()) os << "locals\n";
12178 if (i == env.parameter_count() + env.specials_count() + env.local_count()) {
12181 HValue* val = env.values()->at(i);