From e26a7b03b1d372c64ae29bde686bad2212aaf668 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Mon, 2 Oct 2023 13:57:10 +0000 Subject: riscv64: [codegen] Implement method entry/exit hooks. Test: testrunner.py --target --64 --jit --debuggable # Ignore 28 pre-existing failures (down from 50). Bug: 283082089 Change-Id: I4c96c847b6d4d34b31cd5ec4b9ebced683dd42a2 --- 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 325fb87fc5..fbab8659fe 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -741,6 +741,8 @@ static bool CanAssembleGraphForRiscv64(HGraph* graph) { // and this check is done before register allocation. LOG(FATAL) << "Unexpected ParallelMove before register allocation!"; UNREACHABLE(); + case HInstruction::kMethodEntryHook: + case HInstruction::kMethodExitHook: case HInstruction::kExit: case HInstruction::kGoto: case HInstruction::kPackedSwitch: -- cgit v1.2.3-59-g8ed1b