diff options
author | 2025-02-17 09:50:39 +0000 | |
---|---|---|
committer | 2025-02-17 03:41:16 -0800 | |
commit | e7776615ea6b005051219845a143231b5bb1e4f8 (patch) | |
tree | 29e71562cf79334022969c9adede74e0b05290a9 /compiler/optimizing/instruction_builder.h | |
parent | 3075cc5e59750ba1900e8c3ec3f5a7def4594184 (diff) |
Optimizing: Do not crash on bad `filled-new-array` opcode.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Test: testrunner.py --host --jit --jit-on-first-use -t 412
Change-Id: I8b86c806492b9b3ff44a2e670650e5ed18749190
Diffstat (limited to 'compiler/optimizing/instruction_builder.h')
-rw-r--r-- | compiler/optimizing/instruction_builder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/instruction_builder.h b/compiler/optimizing/instruction_builder.h index b3b5deae59..90ab75ec92 100644 --- a/compiler/optimizing/instruction_builder.h +++ b/compiler/optimizing/instruction_builder.h @@ -177,9 +177,9 @@ class HInstructionBuilder : public ValueObject { HNewArray* BuildNewArray(uint32_t dex_pc, dex::TypeIndex type_index, HInstruction* length); // Builds a new array node and the instructions that fill it. - HNewArray* BuildFilledNewArray(uint32_t dex_pc, - dex::TypeIndex type_index, - const InstructionOperands& operands); + bool BuildFilledNewArray(uint32_t dex_pc, + dex::TypeIndex type_index, + const InstructionOperands& operands); void BuildFillArrayData(const Instruction& instruction, uint32_t dex_pc); |