diff options
| author | 2017-01-06 11:45:47 +0000 | |
|---|---|---|
| committer | 2017-01-16 12:09:53 +0000 | |
| commit | 48886c2ee655a16224870fee52dc8721a52babcf (patch) | |
| tree | debc8b7d9c99a83e2c056c47a8e0718be00c12c3 /compiler/optimizing/nodes.cc | |
| parent | 58207cfd229d9f0b39fc634cff489dac83e1c010 (diff) | |
Remove HLoadClass::LoadKind::kDexCachePcRelative.
Test: m test-art-host
Test: m test-art-target-run-test-552-checker-sharpening
Bug: 30627598
Change-Id: Ic809b0f3a8ed0bd4dc7ab67aa64866f9cdff9bdb
Diffstat (limited to 'compiler/optimizing/nodes.cc')
| -rw-r--r-- | compiler/optimizing/nodes.cc | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index a6084ebcbb..e1411f6685 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -2459,7 +2459,7 @@ bool HLoadClass::InstructionDataEquals(const HInstruction* other) const {      case LoadKind::kJitTableAddress:        return AsMirrorInternal(GetAddress()) == AsMirrorInternal(other_load_class->GetAddress());      default: -      DCHECK(HasTypeReference(GetLoadKind()) || HasDexCacheReference(GetLoadKind())); +      DCHECK(HasTypeReference(GetLoadKind()));        return IsSameDexFile(GetDexFile(), other_load_class->GetDexFile());    }  } @@ -2492,8 +2492,6 @@ std::ostream& operator<<(std::ostream& os, HLoadClass::LoadKind rhs) {        return os << "BootImageAddress";      case HLoadClass::LoadKind::kJitTableAddress:        return os << "JitTableAddress"; -    case HLoadClass::LoadKind::kDexCachePcRelative: -      return os << "DexCachePcRelative";      case HLoadClass::LoadKind::kDexCacheViaMethod:        return os << "DexCacheViaMethod";      default:  |