Searched refs:instance_of (Results 1 – 2 of 2) sorted by relevance
408 static bool InstanceOfNeedsReadBarrier(HInstanceOf* instance_of) { in InstanceOfNeedsReadBarrier() argument410 DCHECK(instance_of->GetTypeCheckKind() == TypeCheckKind::kExactCheck || in InstanceOfNeedsReadBarrier()411 instance_of->GetTypeCheckKind() == TypeCheckKind::kAbstractClassCheck || in InstanceOfNeedsReadBarrier()412 instance_of->GetTypeCheckKind() == TypeCheckKind::kClassHierarchyCheck || in InstanceOfNeedsReadBarrier()413 instance_of->GetTypeCheckKind() == TypeCheckKind::kArrayObjectCheck) in InstanceOfNeedsReadBarrier()414 << instance_of->GetTypeCheckKind(); in InstanceOfNeedsReadBarrier()418 return kEmitCompilerReadBarrier && !instance_of->GetTargetClass()->IsInBootImage(); in InstanceOfNeedsReadBarrier()421 static ReadBarrierOption ReadBarrierOptionForInstanceOf(HInstanceOf* instance_of) { in ReadBarrierOptionForInstanceOf() argument422 return InstanceOfNeedsReadBarrier(instance_of) ? kWithReadBarrier : kWithoutReadBarrier; in ReadBarrierOptionForInstanceOf()
399 void VisitInstanceOf(HInstanceOf* instance_of) OVERRIDE { in VisitInstanceOf() argument400 StartAttributeStream("check_kind") << instance_of->GetTypeCheckKind(); in VisitInstanceOf()402 << instance_of->MustDoNullCheck() << std::noboolalpha; in VisitInstanceOf()