summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2024-08-29 14:23:04 +0100
committer Santiago Aboy Solanes <solanes@google.com> 2024-09-02 12:19:35 +0000
commitd3472f2a4c8214d3dc24a2c39d949562bb6be1db (patch)
tree15c197c3032a4354ea2d46b2435ccd224667ccc2 /runtime/interpreter/interpreter_common.cc
parent01d865abe818bdf41baf966bc456a9f5d45e3cc9 (diff)
cleanup: change Set/GetIntrinsic in ArtMethod to use Intrinsics
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Change-Id: I253a6bfe6bba7e02e527722c4632cb60938fe1c6
Diffstat (limited to 'runtime/interpreter/interpreter_common.cc')
-rw-r--r--runtime/interpreter/interpreter_common.cc2
1 files changed, 1 insertions, 1 deletions
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<art::Intrinsics>(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);