diff options
Diffstat (limited to 'runtime/exception_test.cc')
| -rw-r--r-- | runtime/exception_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/exception_test.cc b/runtime/exception_test.cc index bc3ba216e9..de4b3f437a 100644 --- a/runtime/exception_test.cc +++ b/runtime/exception_test.cc @@ -93,7 +93,7 @@ class ExceptionTest : public CommonRuntimeTest { // NOTE: Don't align the code (it will not be executed) but check that the Thumb2 // adjustment will be a NOP, see ArtMethod::EntryPointToCodePointer(). - CHECK_EQ(mapping_table_offset & 1u, 0u); + CHECK_ALIGNED(mapping_table_offset, 2); const uint8_t* code_ptr = &fake_header_code_and_maps_[gc_map_offset]; method_f_ = my_klass_->FindVirtualMethod("f", "()I", sizeof(void*)); |