From d9af38a3b76fc54909148456da2701666bade6e0 Mon Sep 17 00:00:00 2001 From: Andra Danciu Date: Wed, 5 Aug 2020 13:17:54 +0000 Subject: X86: VarHandle.Get() intrinsic for static primitive fields. Test: art/test.py --host --32 -r -t 712-varhandle-invocations Bug: 65872996 Change-Id: I8f1eeb1c9041ae55b3a159a6eb1e356687e574e9 --- compiler/optimizing/code_generator.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/optimizing/code_generator.cc') diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 6bfdacfb7f..901424f570 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -1688,8 +1688,7 @@ void CodeGenerator::ValidateInvokeRuntimeWithoutRecordingPcInfo(HInstruction* in instruction->IsLoadString() || instruction->IsInstanceOf() || instruction->IsCheckCast() || - (instruction->IsInvokeVirtual() && instruction->GetLocations()->Intrinsified()) || - (instruction->IsInvokeStaticOrDirect() && instruction->GetLocations()->Intrinsified())) + (instruction->IsInvoke() && instruction->GetLocations()->Intrinsified())) << "instruction->DebugName()=" << instruction->DebugName() << " slow_path->GetDescription()=" << slow_path->GetDescription(); } -- cgit v1.2.3-59-g8ed1b