RISCV: [Codegen] Add VisitInvokeCustom

Test: m test-art-host-gtest
Bug: 283082089
Change-Id: Iac5fb47d2e0273bd24f0ecdfcbb52d325456e380
Signed-off-by: Lifang Xia <lifang_xia@linux.alibaba.com>
Signed-off-by: Wendong Wang <wangwd@xcvmbyte.com>
diff --git a/compiler/optimizing/code_generator_riscv64.cc b/compiler/optimizing/code_generator_riscv64.cc
index 9280ad4..681435c 100644
--- a/compiler/optimizing/code_generator_riscv64.cc
+++ b/compiler/optimizing/code_generator_riscv64.cc
@@ -2142,13 +2142,11 @@
 }
 
 void LocationsBuilderRISCV64::VisitInvokeCustom(HInvokeCustom* instruction) {
-  UNUSED(instruction);
-  LOG(FATAL) << "Unimplemented";
+  HandleInvoke(instruction);
 }
 
 void InstructionCodeGeneratorRISCV64::VisitInvokeCustom(HInvokeCustom* instruction) {
-  UNUSED(instruction);
-  LOG(FATAL) << "Unimplemented";
+  codegen_->GenerateInvokeCustomCall(instruction);
 }
 
 void LocationsBuilderRISCV64::VisitLessThan(HLessThan* instruction) {