From: Alexey Frunze Date: Wed, 24 Aug 2016 06:42:54 +0000 (-0700) Subject: ART: unblock compiler tests on MIPS X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b2223931188bf129abc0701c401c7f3452505131;p=android-x86%2Fart.git ART: unblock compiler tests on MIPS The DCHECK() that's removed here causes most of compiler tests to fail on MIPS. The issue is introduced with the recent changes in the string dex cache. Test: booted MIPS32 in QEMU Test: test-art-target-run-test-optimizing on CI20 Change-Id: I7fd45fa0b6d64fbc553f6aeaa6dac7345c885fe4 --- diff --git a/runtime/mirror/dex_cache.h b/runtime/mirror/dex_cache.h index 770c45d55..4ddfc7bde 100644 --- a/runtime/mirror/dex_cache.h +++ b/runtime/mirror/dex_cache.h @@ -57,7 +57,6 @@ struct PACKED(8) StringDexCachePair { // Set the initial state for the 0th entry to be {0,1} which is guaranteed to fail // the lookup string id == stored id branch. static void Initialize(StringDexCacheType* strings) { - DCHECK(StringDexCacheType().is_lock_free()); mirror::StringDexCachePair first_elem; first_elem.string_pointer = GcRoot(nullptr); first_elem.string_index = 1;