Lines Matching defs:environment

119   HEnvironment* environment = instruction->GetEnvironment();
121 if (environment->GetInstructionAt(i) != nullptr) {
122 Primitive::Type type = environment->GetInstructionAt(i)->GetType();
123 DCHECK(CheckType(type, environment->GetLocationAt(i)))
124 << type << " " << environment->GetLocationAt(i);
126 DCHECK(environment->GetLocationAt(i).IsInvalid())
127 << environment->GetLocationAt(i);
729 for (HEnvironment* environment = instruction->GetEnvironment();
730 environment != nullptr;
731 environment = environment->GetParent()) {
732 outer_dex_pc = environment->GetDexPc();
733 outer_environment_size = environment->Size();
734 if (environment != instruction->GetEnvironment()) {
787 HEnvironment* environment = instruction->GetEnvironment();
788 for (size_t i = 0, environment_size = environment->Size(); i < environment_size; ++i) {
789 HInstruction* in_environment = environment->GetInstructionAt(i);
792 Location location = environment->GetLocationAt(i);
899 void CodeGenerator::EmitEnvironment(HEnvironment* environment, SlowPathCode* slow_path) {
900 if (environment == nullptr) return;
902 if (environment->GetParent() != nullptr) {
903 // We emit the parent environment first.
904 EmitEnvironment(environment->GetParent(), slow_path);
905 stack_map_stream_.BeginInlineInfoEntry(environment->GetMethodIdx(),
906 environment->GetDexPc(),
907 environment->GetInvokeType(),
908 environment->Size());
911 // Walk over the environment, and record the location of dex registers.
912 for (size_t i = 0, environment_size = environment->Size(); i < environment_size; ++i) {
913 HInstruction* current = environment->GetInstructionAt(i);
919 Location location = environment->GetLocationAt(i);
1064 if (environment->GetParent() != nullptr) {
1103 // TODO: The parallel moves modify the environment. Their changes need to be