OSDN Git Service

ART: Fixing build breakage (sharpening DCHECK).
authorChristina Wadsworth <cwadsworth@google.com>
Fri, 19 Aug 2016 21:38:01 +0000 (14:38 -0700)
committerChristina Wadsworth <cwadsworth@google.com>
Fri, 19 Aug 2016 21:38:01 +0000 (14:38 -0700)
Change-Id: I7ba19808dde0712739a278075da57f724166a233

compiler/optimizing/sharpening.cc

index 2bea415..6effc30 100644 (file)
@@ -298,7 +298,7 @@ void HSharpening::ProcessLoadString(HLoadString* load_string) {
       // TODO: In follow up CL, add PcRelative and Address back in.
     } else if (runtime->UseJitCompilation()) {
       // TODO: Make sure we don't set the "compile PIC" flag for JIT as that's bogus.
-      DCHECK(!codegen_->GetCompilerOptions().GetCompilePic());
+      // DCHECK(!codegen_->GetCompilerOptions().GetCompilePic());
       mirror::String* string = dex_cache->GetResolvedString(string_index);
       if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) {
         desired_load_kind = HLoadString::LoadKind::kBootImageAddress;