diff options
author | 2022-09-29 11:55:37 +0200 | |
---|---|---|
committer | 2022-09-29 12:09:38 +0000 | |
commit | 7dec3562e903bf038f22c763fccd4dfa77f0468b (patch) | |
tree | a05c6048127fe1b1a211c09d3b8743ec439676ab /compiler/exception_test.cc | |
parent | 8a9b1a801acc633a4e1ea2226843c899a542ed70 (diff) |
Rename `GetInstructionSet{,Code}Alignment`.
Update the `GetInstructionSetAlignment()` function name to
`GetInstructionSetCodeAlignment()` in line with renames from
https://android-review.googlesource.com/2229498 .
Move the function to `instruction_set.h` and change the
handling of unknown instruction sets to the approach used
in other functions in the header file.
Test: buildbot-build.sh --target
Change-Id: I8239b94b56bf24f4e99a2d72ba10ec1f5a055d36
Diffstat (limited to 'compiler/exception_test.cc')
-rw-r--r-- | compiler/exception_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/exception_test.cc b/compiler/exception_test.cc index a49c6c630e..f86e0b9b01 100644 --- a/compiler/exception_test.cc +++ b/compiler/exception_test.cc @@ -91,7 +91,7 @@ class ExceptionTest : public CommonRuntimeTest { const size_t stack_maps_size = stack_map.size(); const size_t header_size = sizeof(OatQuickMethodHeader); - const size_t code_alignment = GetInstructionSetAlignment(kRuntimeISA); + const size_t code_alignment = GetInstructionSetCodeAlignment(kRuntimeISA); fake_header_code_and_maps_.resize(stack_maps_size + header_size + code_size + code_alignment); // NB: The start of the vector might not have been allocated the desired alignment. |