From e61fd353c06f51f1b8ca5af69997d0185b7659b2 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 25 Jun 2014 14:15:06 +0000 Subject: Revert "Re-enable tests with the optimizing compiler." This reverts commit 20550910e608ed7d86db97927d2ce9d2191061a4. Change-Id: Ic28b719946c795378838a18162a2a2b2cf41a0e8 --- compiler/optimizing/codegen_test.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/optimizing/codegen_test.cc') diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index 7ec0c84167..fd534ced1f 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -52,6 +52,10 @@ static void Run(const InternalCodeAllocator& allocator, bool has_result, int32_t typedef int32_t (*fptr)(); CommonCompilerTest::MakeExecutable(allocator.GetMemory(), allocator.GetSize()); fptr f = reinterpret_cast(allocator.GetMemory()); +#if defined(__arm__) + // For thumb we need the bottom bit set. + f = reinterpret_cast(reinterpret_cast(f) + 1); +#endif int32_t result = f(); if (has_result) { CHECK_EQ(result, expected); -- cgit v1.2.3-59-g8ed1b