Lines Matching refs:environment
871 void LCodeGen::WriteTranslation(LEnvironment* environment,
873 if (environment == NULL) return;
875 // The translation includes one command per value in the environment.
876 int translation_size = environment->translation_size();
878 WriteTranslation(environment->outer(), translation);
879 WriteTranslationFrame(environment, translation);
884 LOperand* value = environment->values()->at(i);
885 AddToTranslation(environment,
888 environment->HasTaggedValueAt(i),
889 environment->HasUint32ValueAt(i),
896 void LCodeGen::AddToTranslation(LEnvironment* environment,
905 if (environment->ObjectIsDuplicateAt(object_index)) {
906 int dupe_of = environment->ObjectDuplicateOfAt(object_index);
910 int object_length = environment->ObjectLengthAt(object_index);
911 if (environment->ObjectIsArgumentsAt(object_index)) {
917 int env_offset = environment->translation_size() + dematerialized_index;
920 LOperand* value = environment->values()->at(env_offset + i);
921 AddToTranslation(environment,
924 environment->HasTaggedValueAt(env_offset + i),
925 environment->HasUint32ValueAt(env_offset + i),
1040 LEnvironment* environment, Safepoint::DeoptMode mode) {
1041 environment->set_has_been_used();
1042 if (!environment->HasBeenRegistered()) {
1047 // Layout of the environment:
1058 for (LEnvironment* e = environment; e != NULL; e = e->outer()) {
1065 WriteTranslation(environment, &translation);
1068 environment->Register(deoptimization_index,
1071 deoptimizations_.Add(environment, zone());
1079 LEnvironment* environment = instr->environment();
1080 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt);
1081 DCHECK(environment->HasBeenRegistered());
1082 int id = environment->deoptimization_index();
4845 // the environment's HContext or HInlinedContext value.
4905 // the environment's HContext or HInlinedContext value.
5781 LEnvironment* env = instr->environment();
5817 LEnvironment* env = instr->environment();
5837 LEnvironment* env = instr->environment();
5875 // This is a pseudo-instruction that ensures that the environment here is
5878 LEnvironment* environment = instr->environment();
5880 // If the environment were already registered, we would have no way of
5882 DCHECK(!environment->HasBeenRegistered());
5883 RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt);