diff options
| author | 2016-08-25 18:17:56 +0100 | |
|---|---|---|
| committer | 2016-08-25 18:20:25 +0100 | |
| commit | 0e851e2fb55773e2ad5f06b89ed5e655ca3eb846 (patch) | |
| tree | caaa0c8655628cafeba73c44d98525dfc2262326 /compiler/utils/assembler_thumb_test.cc | |
| parent | ca11dc008457e1596554eb9b1b77c823ae9dcf54 (diff) | |
Fix VIXL assembler test for heap-poisoning configurations.
And fix a typo in test name.
Test: ART_HEAP_POISONING=true m test-art-host-gtest-assembler_thumb_test
Change-Id: Ibc3750676aa7a7b23c93ee0babb8d9c207cb762a
Diffstat (limited to 'compiler/utils/assembler_thumb_test.cc')
| -rw-r--r-- | compiler/utils/assembler_thumb_test.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler/utils/assembler_thumb_test.cc b/compiler/utils/assembler_thumb_test.cc index 41cb04b251..367ed97325 100644 --- a/compiler/utils/assembler_thumb_test.cc +++ b/compiler/utils/assembler_thumb_test.cc @@ -1624,9 +1624,9 @@ typedef arm::ArmVIXLJNIMacroAssembler JniAssemblerType; typedef arm::Thumb2Assembler AssemblerType; #endif -class ArmVIXAssemblerTest : public ::testing::Test { +class ArmVIXLAssemblerTest : public ::testing::Test { public: - ArmVIXAssemblerTest() : pool(), arena(&pool), assembler(&arena) { } + ArmVIXLAssemblerTest() : pool(), arena(&pool), assembler(&arena) { } ArenaPool pool; ArenaAllocator arena; @@ -1658,7 +1658,7 @@ void EmitAndCheck(JniAssemblerType* assembler, const char* testname) { #undef __ #define __ assembler. -TEST_F(ArmVIXAssemblerTest, VixlJniHelpers) { +TEST_F(ArmVIXLAssemblerTest, VixlJniHelpers) { const bool is_static = true; const bool is_synchronized = false; const char* shorty = "IIFII"; @@ -1689,7 +1689,7 @@ TEST_F(ArmVIXAssemblerTest, VixlJniHelpers) { __ Load(scratch_register, FrameOffset(4092), 4); __ Load(scratch_register, FrameOffset(4096), 4); __ LoadRawPtrFromThread(scratch_register, ThreadOffset32(512)); - __ LoadRef(method_register, scratch_register, MemberOffset(128), true); + __ LoadRef(method_register, scratch_register, MemberOffset(128), /* unpoison_reference */ false); // Stores __ Store(FrameOffset(32), method_register, 4); @@ -1743,7 +1743,7 @@ TEST_F(ArmVIXAssemblerTest, VixlJniHelpers) { #define __ assembler.asm_. #endif -TEST_F(ArmVIXAssemblerTest, VixlLoadFromOffset) { +TEST_F(ArmVIXLAssemblerTest, VixlLoadFromOffset) { __ LoadFromOffset(kLoadWord, R2, R4, 12); __ LoadFromOffset(kLoadWord, R2, R4, 0xfff); __ LoadFromOffset(kLoadWord, R2, R4, 0x1000); @@ -1773,7 +1773,7 @@ TEST_F(ArmVIXAssemblerTest, VixlLoadFromOffset) { EmitAndCheck(&assembler, "VixlLoadFromOffset"); } -TEST_F(ArmVIXAssemblerTest, VixlStoreToOffset) { +TEST_F(ArmVIXLAssemblerTest, VixlStoreToOffset) { __ StoreToOffset(kStoreWord, R2, R4, 12); __ StoreToOffset(kStoreWord, R2, R4, 0xfff); __ StoreToOffset(kStoreWord, R2, R4, 0x1000); |