diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-09-11 12:17:43 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-09-11 12:17:43 +0100 |
commit | a1c22c172046d51579f2adb1f12f658022ff022e (patch) | |
tree | 736f09504001e3d00824366cdcfbac736451f03f /compiler | |
parent | 0b35b9781b9e7143d673474fd59e13294c90abb5 (diff) | |
download | art-a1c22c172046d51579f2adb1f12f658022ff022e.zip art-a1c22c172046d51579f2adb1f12f658022ff022e.tar.gz art-a1c22c172046d51579f2adb1f12f658022ff022e.tar.bz2 |
Fix builds on archs the compiler does not support.
Change-Id: Ibfc47026596c868fb6d48465a6e564a0b1e07fd0
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/optimizing/codegen_test.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index 672ff54..b9712e1 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -49,7 +49,6 @@ class InternalCodeAllocator : public CodeAllocator { DISALLOW_COPY_AND_ASSIGN(InternalCodeAllocator); }; -#if defined(__i386__) || defined(__arm__) || defined(__x86_64__) static void Run(const InternalCodeAllocator& allocator, const CodeGenerator& codegen, bool has_result, @@ -66,7 +65,6 @@ static void Run(const InternalCodeAllocator& allocator, CHECK_EQ(result, expected); } } -#endif static void TestCode(const uint16_t* data, bool has_result = false, int32_t expected = 0) { ArenaPool pool; |