ARM64: Move from FPRegister to VRegister based API (continued (2)).
Move newly added occurrences of `vixl::aarch64::FPRegister` to
`vixl::aarch64::VRegister` in `compiler/optimizing/common_arm64.h`.
Test: mmma art
Bug: 144490441
Change-Id: Id343d64fa00373994db7bf11f5e737cca3a4f2fd
diff --git a/compiler/optimizing/common_arm64.h b/compiler/optimizing/common_arm64.h
index 36e68e4..41f284f 100644
--- a/compiler/optimizing/common_arm64.h
+++ b/compiler/optimizing/common_arm64.h
@@ -107,9 +107,9 @@
return vixl::aarch64::VRegister::GetSRegFromCode(location.reg());
}
-inline vixl::aarch64::FPRegister HRegisterFrom(Location location) {
+inline vixl::aarch64::VRegister HRegisterFrom(Location location) {
DCHECK(location.IsFpuRegister()) << location;
- return vixl::aarch64::FPRegister::GetHRegFromCode(location.reg());
+ return vixl::aarch64::VRegister::GetHRegFromCode(location.reg());
}
inline vixl::aarch64::VRegister FPRegisterFrom(Location location, DataType::Type type) {