diff options
author | Evgeny Astigeevich <evgeny.astigeevich@linaro.org> | 2019-10-16 08:34:03 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-10-16 08:34:03 -0700 |
commit | 84d9a757ebf0db1b006e69895b97679d0800d5c4 (patch) | |
tree | ad130d2047aceac0b505627c377d8d4c4516cd5f | |
parent | ef313ba0bfa05871abe15563bd4c09a64c646dd4 (diff) | |
parent | 2e0f226b261e58333024c7b9c955aa8742000e99 (diff) | |
download | vixl-84d9a757ebf0db1b006e69895b97679d0800d5c4.tar.gz |
Add GetScratchVRegisterList to help ART to move to new API am: 6e8dbfe523
am: 2e0f226b26
Change-Id: I708b9600c65e85786d0bdcf188b7d21c371d37c0
-rw-r--r-- | src/aarch64/macro-assembler-aarch64.h | 9 |
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; |