From 534d18f95fcf11912c155a93969d494bd7eedfef Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 19 Oct 2023 13:51:32 +0000 Subject: riscv64: [codegen] Fix and enable InvokeCustom/-Polymorphic. Test: m # aosp_cf_riscv64_phone-userdebug Test: # Edit `run-test` to disable checker, then testrunner.py --target --64 --ndebug --optimizing # Ignore 3 pre-existing failures. Bug: 283082089 Change-Id: I9802386b32fe6b98142454748404105e5b345c3b --- compiler/optimizing/optimizing_compiler.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/optimizing/optimizing_compiler.cc') diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 6062d25eb8..1f71c4d10d 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -837,6 +837,8 @@ static bool CanAssembleGraphForRiscv64(HGraph* graph) { case HInstruction::kInvokeStaticOrDirect: case HInstruction::kInvokeVirtual: case HInstruction::kInvokeInterface: + case HInstruction::kInvokeCustom: + case HInstruction::kInvokePolymorphic: case HInstruction::kCurrentMethod: case HInstruction::kNullCheck: case HInstruction::kDeoptimize: -- cgit v1.2.3-59-g8ed1b