diff options
| author | 2025-02-18 16:06:02 -0800 | |
|---|---|---|
| committer | 2025-02-18 16:06:02 -0800 | |
| commit | 558c09ed64e4847d8be8f1d7c0faaf3dcf48fa9e (patch) | |
| tree | b505fc60f6070a0ff0e699837eff969b7ec7e0e7 /compiler/optimizing/instruction_builder.cc | |
| parent | 7c43f730e8f6e50cc37d22969790cb9bd38ce50c (diff) | |
| parent | 077b325bc963a5f8694f186bff9e2ae5cb83b6cb (diff) | |
Snap for 13081433 from 077b325bc963a5f8694f186bff9e2ae5cb83b6cb to 25Q2-release
Change-Id: Ibe3cb81c0e2246e4fb53609f9fb4496570bfdda5
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
| -rw-r--r-- | compiler/optimizing/instruction_builder.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc index 1f2628c8ec..8cc79c2424 100644 --- a/compiler/optimizing/instruction_builder.cc +++ b/compiler/optimizing/instruction_builder.cc @@ -305,7 +305,7 @@ void HInstructionBuilder::InitializeInstruction(HInstruction* instruction) { graph_->GetArtMethod(), instruction->GetDexPc(), instruction); - environment->CopyFrom(ArrayRef<HInstruction* const>(*current_locals_)); + environment->CopyFrom(allocator_, ArrayRef<HInstruction* const>(*current_locals_)); instruction->SetRawEnvironment(environment); } } @@ -2554,8 +2554,6 @@ bool HInstructionBuilder::BuildFilledNewArray(uint32_t dex_pc, char primitive = descriptor[1]; if (primitive != 'I' && primitive != 'L' && primitive != '[') { DCHECK(primitive != 'J' && primitive != 'D'); // Rejected by the verifier. - // FIXME: Why do we JIT compile a method with `VERIFY_ERROR_FILLED_NEW_ARRAY` when - // `CanCompilerHandleVerificationFailure(VERIFY_ERROR_FILLED_NEW_ARRAY)` returns false? MaybeRecordStat(compilation_stats_, MethodCompilationStat::kNotCompiledMalformedOpcode); return false; } |