diff options
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
| -rw-r--r-- | compiler/optimizing/instruction_builder.cc | 20 | 
1 files changed, 5 insertions, 15 deletions
| diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc index b97581beb3..1ca3218d77 100644 --- a/compiler/optimizing/instruction_builder.cc +++ b/compiler/optimizing/instruction_builder.cc @@ -937,9 +937,7 @@ bool HInstructionBuilder::BuildNewInstance(dex::TypeIndex type_index, uint32_t d        outer_dex_file,        IsOutermostCompilingClass(type_index),        dex_pc, -      needs_access_check, -      /* is_in_dex_cache */ false, -      /* is_in_boot_image */ false); +      needs_access_check);    AppendInstruction(load_class);    HInstruction* cls = load_class; @@ -1029,9 +1027,7 @@ HClinitCheck* HInstructionBuilder::ProcessClinitCheckForInvoke(          outer_dex_file,          is_outer_class,          dex_pc, -        /*needs_access_check*/ false, -        /* is_in_dex_cache */ false, -        /* is_in_boot_image */ false); +        /*needs_access_check*/ false);      AppendInstruction(load_class);      clinit_check = new (arena_) HClinitCheck(load_class, dex_pc);      AppendInstruction(clinit_check); @@ -1388,9 +1384,7 @@ bool HInstructionBuilder::BuildStaticFieldAccess(const Instruction& instruction,                                                   outer_dex_file,                                                   is_outer_class,                                                   dex_pc, -                                                 /*needs_access_check*/ false, -                                                 /* is_in_dex_cache */ false, -                                                 /* is_in_boot_image */ false); +                                                 /*needs_access_check*/ false);    AppendInstruction(constant);    HInstruction* cls = constant; @@ -1664,9 +1658,7 @@ void HInstructionBuilder::BuildTypeCheck(const Instruction& instruction,        dex_file,        IsOutermostCompilingClass(type_index),        dex_pc, -      !can_access, -      /* is_in_dex_cache */ false, -      /* is_in_boot_image */ false); +      !can_access);    AppendInstruction(cls);    TypeCheckKind check_kind = ComputeTypeCheckKind(resolved_class); @@ -2656,9 +2648,7 @@ bool HInstructionBuilder::ProcessDexInstruction(const Instruction& instruction,            *dex_file_,            IsOutermostCompilingClass(type_index),            dex_pc, -          !can_access, -          /* is_in_dex_cache */ false, -          /* is_in_boot_image */ false)); +          !can_access));        UpdateLocal(instruction.VRegA_21c(), current_block_->GetLastInstruction());        break;      } |