diff options
author | Goran Jakovljevic <Goran.Jakovljevic@imgtec.com> | 2017-04-05 16:27:25 +0200 |
---|---|---|
committer | Goran Jakovljevic <Goran.Jakovljevic@imgtec.com> | 2017-04-06 10:42:52 +0200 |
commit | 9c4f0d8ffd8fb1ce31b3f8de5ca8da497e0bee9a (patch) | |
tree | e72395eb564f86dbc2d620ba03879a2ff1d56067 /compiler/common_compiler_test.h | |
parent | 7851a5339d5ebd6fd2a3a8d40abc15aad694d024 (diff) |
Clean up after MIPS got read barriers support
This enables checker tests, as well as compiler_driver_test and
reflection_test for MIPS32 and MIPS64.
Test: mma test-art-host-gtest
Test: mma test-art-target-gtest in QEMU (MIPS64)
Test: ./testrunner.py --optimizing --target in QEMU (MIPS64)
Change-Id: Ic6fe5b17f7f2cd7e38e12fef25afccf9358b80e0
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r-- | compiler/common_compiler_test.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index 98dcf20714..0683577ec5 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -117,25 +117,6 @@ class CommonCompilerTest : public CommonRuntimeTest { std::list<std::vector<uint8_t>> header_code_and_maps_chunks_; }; -// TODO: When read barrier works with all Optimizing back ends, get rid of this. -#define TEST_DISABLED_FOR_READ_BARRIER_WITH_OPTIMIZING_FOR_UNSUPPORTED_INSTRUCTION_SETS() \ - if (kUseReadBarrier && GetCompilerKind() == Compiler::kOptimizing) { \ - switch (GetInstructionSet()) { \ - case kArm64: \ - case kThumb2: \ - case kX86: \ - case kX86_64: \ - /* Instruction set has read barrier support. */ \ - break; \ - \ - default: \ - /* Instruction set does not have barrier support. */ \ - printf("WARNING: TEST DISABLED FOR READ BARRIER WITH OPTIMIZING " \ - "FOR THIS INSTRUCTION SET\n"); \ - return; \ - } \ - } - } // namespace art #endif // ART_COMPILER_COMMON_COMPILER_TEST_H_ |