summaryrefslogtreecommitdiff
path: root/compiler/optimizing/common_arm64.h
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2024-03-08 15:48:44 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2024-03-12 15:52:28 +0000
commit5937cdeeef4639e523ae3cfde3bfce3ccb252921 (patch)
tree8c87fc2983ee01ae68fa79be1afb6cd3886d3053 /compiler/optimizing/common_arm64.h
parent68f3ec8001c46f00f82043d7100c04dee4449c48 (diff)
Remove default cases when all cases are defined
Bug: 328756212 Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Test: m test-art-host-gtest Change-Id: I9584e1b93e49265b84a9e45c8b283ebaf8ad3eb2
Diffstat (limited to 'compiler/optimizing/common_arm64.h')
-rw-r--r--compiler/optimizing/common_arm64.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/optimizing/common_arm64.h b/compiler/optimizing/common_arm64.h
index e2ef8d52f2..8b64b2e2e8 100644
--- a/compiler/optimizing/common_arm64.h
+++ b/compiler/optimizing/common_arm64.h
@@ -349,7 +349,6 @@ inline vixl::aarch64::Shift ShiftFromOpKind(HDataProcWithShifterOp::OpKind op_ki
default:
LOG(FATAL) << "Unexpected op kind " << op_kind;
UNREACHABLE();
- return vixl::aarch64::NO_SHIFT;
}
}
@@ -364,7 +363,6 @@ inline vixl::aarch64::Extend ExtendFromOpKind(HDataProcWithShifterOp::OpKind op_
default:
LOG(FATAL) << "Unexpected op kind " << op_kind;
UNREACHABLE();
- return vixl::aarch64::NO_EXTEND;
}
}