From d3472f2a4c8214d3dc24a2c39d949562bb6be1db Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Thu, 29 Aug 2024 14:23:04 +0100 Subject: cleanup: change Set/GetIntrinsic in ArtMethod to use Intrinsics Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Change-Id: I253a6bfe6bba7e02e527722c4632cb60938fe1c6 --- runtime/interpreter/interpreter_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/interpreter/interpreter_common.cc') diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc index f11c62bc71..1fcace6d3b 100644 --- a/runtime/interpreter/interpreter_common.cc +++ b/runtime/interpreter/interpreter_common.cc @@ -580,7 +580,7 @@ bool DoInvokePolymorphic(Thread* self, DCHECK(invoke_method->IsIntrinsic()); // Dispatch based on intrinsic identifier associated with method. - switch (static_cast(invoke_method->GetIntrinsic())) { + switch (invoke_method->GetIntrinsic()) { #define CASE_SIGNATURE_POLYMORPHIC_INTRINSIC(Name, ...) \ case Intrinsics::k##Name: \ return Do ## Name(self, shadow_frame, inst, inst_data, result); -- cgit v1.2.3-59-g8ed1b