aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Astigeevich <evgeny.astigeevich@linaro.org>2019-10-16 08:26:43 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-10-16 08:26:43 -0700
commit2e0f226b261e58333024c7b9c955aa8742000e99 (patch)
treead130d2047aceac0b505627c377d8d4c4516cd5f
parentef313ba0bfa05871abe15563bd4c09a64c646dd4 (diff)
parent6e8dbfe5239d5a15cb8944e0d534e9ef3ce3d838 (diff)
downloadvixl-2e0f226b261e58333024c7b9c955aa8742000e99.tar.gz
Add GetScratchVRegisterList to help ART to move to new API
am: 6e8dbfe523 Change-Id: I3bcd223d66fbf2c2aae24ea6df5303a67188bbde
-rw-r--r--src/aarch64/macro-assembler-aarch64.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/aarch64/macro-assembler-aarch64.h b/src/aarch64/macro-assembler-aarch64.h
index 88ed5577..cb85b73e 100644
--- a/src/aarch64/macro-assembler-aarch64.h
+++ b/src/aarch64/macro-assembler-aarch64.h
@@ -3379,6 +3379,15 @@ class MacroAssembler : public Assembler, public MacroAssemblerInterface {
return GetScratchFPRegisterList();
}
+ // FIXME: In the latest upstream VIXL GetScratchFPRegisterList gets replaced with
+ // GetScratchVRegisterList and is not available any more. This causes issues to move ART to the
+ // new API.
+ // The current version of GetScratchVRegisterList is temporary till the ART is moved to the new
+ // VIXL API and the upstream version of GetScratchVRegisterList is being integrated.
+ CPURegList* GetScratchVRegisterList() {
+ return GetScratchFPRegisterList();
+ }
+
// Get or set the current (most-deeply-nested) UseScratchRegisterScope.
void SetCurrentScratchRegisterScope(UseScratchRegisterScope* scope) {
current_scratch_scope_ = scope;