From 3d94fe6d114bac01f7957b248c363c9125fcf2d3 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 8 Feb 2024 09:25:23 +0000 Subject: Introduce abstract instruction `HFieldAccess`. Change-Id: Iaccc3a000f53a4b7198a45f04142983897f194f4 --- compiler/optimizing/scheduler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/scheduler.cc') diff --git a/compiler/optimizing/scheduler.cc b/compiler/optimizing/scheduler.cc index f4cf7b0a49..9deb37d106 100644 --- a/compiler/optimizing/scheduler.cc +++ b/compiler/optimizing/scheduler.cc @@ -118,7 +118,7 @@ static bool IsFieldAccess(const HInstruction* instruction) { } static const FieldInfo* GetFieldInfo(const HInstruction* instruction) { - return &instruction->GetFieldInfo(); + return &instruction->AsFieldAccess()->GetFieldInfo(); } size_t SideEffectDependencyAnalysis::MemoryDependencyAnalysis::FieldAccessHeapLocation( -- cgit v1.2.3-59-g8ed1b