diff options
| author | 2018-09-20 04:59:30 +0000 | |
|---|---|---|
| committer | 2018-09-20 04:59:30 +0000 | |
| commit | 144f0826919bf7af915bd165fc67eb12aead843c (patch) | |
| tree | 7e55557e118eb5fffe03ad3456e00d8469a36232 /runtime/interpreter/unstarted_runtime_test.cc | |
| parent | 4727396c867c6b4641f5bb0edb925d554379ae8e (diff) | |
| parent | 9a20ff06f7ccee08a742c315ec6d351ab56ba1cd (diff) | |
Merge changes If50d37b5,I0f40f91c,I02e8702c
* changes:
ART: Refactor typedef to using
ART: Fix dexdump & dexlist
ART: Add redundant-void-arg check
Diffstat (limited to 'runtime/interpreter/unstarted_runtime_test.cc')
| -rw-r--r-- | runtime/interpreter/unstarted_runtime_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/interpreter/unstarted_runtime_test.cc b/runtime/interpreter/unstarted_runtime_test.cc index 200fc5b334..38195b4911 100644 --- a/runtime/interpreter/unstarted_runtime_test.cc +++ b/runtime/interpreter/unstarted_runtime_test.cc @@ -261,7 +261,7 @@ TEST_F(UnstartedRuntimeTest, MemoryPeekShort) { UnstartedMemoryPeekShort(self, tmp.get(), &result, 0); - typedef int16_t unaligned_short __attribute__ ((aligned (1))); + using unaligned_short = int16_t __attribute__ ((aligned (1))); const unaligned_short* short_ptr = reinterpret_cast<const unaligned_short*>(base_ptr + i); EXPECT_EQ(result.GetS(), *short_ptr); } @@ -284,7 +284,7 @@ TEST_F(UnstartedRuntimeTest, MemoryPeekInt) { UnstartedMemoryPeekInt(self, tmp.get(), &result, 0); - typedef int32_t unaligned_int __attribute__ ((aligned (1))); + using unaligned_int = int32_t __attribute__ ((aligned (1))); const unaligned_int* int_ptr = reinterpret_cast<const unaligned_int*>(base_ptr + i); EXPECT_EQ(result.GetI(), *int_ptr); } @@ -307,7 +307,7 @@ TEST_F(UnstartedRuntimeTest, MemoryPeekLong) { UnstartedMemoryPeekLong(self, tmp.get(), &result, 0); - typedef int64_t unaligned_long __attribute__ ((aligned (1))); + using unaligned_long = int64_t __attribute__ ((aligned (1))); const unaligned_long* long_ptr = reinterpret_cast<const unaligned_long*>(base_ptr + i); EXPECT_EQ(result.GetJ(), *long_ptr); } |