diff options
| author | 2025-01-10 20:01:28 -0800 | |
|---|---|---|
| committer | 2025-01-10 20:01:28 -0800 | |
| commit | 14fb8c018aacc3dbcbca83694aae5cb88f85569c (patch) | |
| tree | 0fff29544c4952367d35ecd40a9cf18bb5f01bf9 /compiler/optimizing | |
| parent | 360bfb70f72eaac35cc478ef8d061504b130d3ac (diff) | |
| parent | 68186d31fcaff380dac174cf69d280bfaded26b4 (diff) | |
Snap for 12903105 from 68186d31fcaff380dac174cf69d280bfaded26b4 to 25Q2-release
Change-Id: I924656d7d8bdd7e7dfb60c41588f15ad84866370
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/nodes.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index e0913c821c..c209ef5450 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -3697,7 +3697,7 @@ class HUnaryOperation : public HExpression<1> { HInstruction* GetInput() const { return InputAt(0); } DataType::Type GetResultType() const { return GetType(); } - bool CanBeMoved() const override { return true; } + bool CanBeMoved() const final { return true; } bool InstructionDataEquals([[maybe_unused]] const HInstruction* other) const override { return true; } @@ -3788,7 +3788,7 @@ class HBinaryOperation : public HExpression<2> { } } - bool CanBeMoved() const override { return true; } + bool CanBeMoved() const final { return true; } bool InstructionDataEquals([[maybe_unused]] const HInstruction* other) const override { return true; } @@ -5872,7 +5872,6 @@ class HNot final : public HUnaryOperation { : HUnaryOperation(kNot, result_type, input, dex_pc) { } - bool CanBeMoved() const override { return true; } bool InstructionDataEquals([[maybe_unused]] const HInstruction* other) const override { return true; } @@ -5898,7 +5897,6 @@ class HBooleanNot final : public HUnaryOperation { : HUnaryOperation(kBooleanNot, DataType::Type::kBool, input, dex_pc) { } - bool CanBeMoved() const override { return true; } bool InstructionDataEquals([[maybe_unused]] const HInstruction* other) const override { return true; } |