summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2023-10-19 16:18:35 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2023-10-23 09:17:41 +0000
commit26c8ca42a0437bb84d340dddf751250775be41e7 (patch)
treeb767b2c13b26519e36daf16170851c602e5218ac /compiler/optimizing/optimizing_compiler.cc
parentae41d97ff89e09fd3a8e220b896953db7ef928cf (diff)
riscv64: Add entrypoints for unresolved fields.
And enable `*Unresolved*` instructions in codegen. 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: I04f23161d96f9eefdbe1e3b17ed0f7ae695deb07
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r--compiler/optimizing/optimizing_compiler.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc
index 1f71c4d10d..f3f0a13548 100644
--- a/compiler/optimizing/optimizing_compiler.cc
+++ b/compiler/optimizing/optimizing_compiler.cc
@@ -798,6 +798,10 @@ static bool CanAssembleGraphForRiscv64(HGraph* graph) {
case HInstruction::kInstanceFieldSet:
case HInstruction::kStaticFieldGet:
case HInstruction::kStaticFieldSet:
+ case HInstruction::kUnresolvedInstanceFieldGet:
+ case HInstruction::kUnresolvedInstanceFieldSet:
+ case HInstruction::kUnresolvedStaticFieldGet:
+ case HInstruction::kUnresolvedStaticFieldSet:
case HInstruction::kArrayGet:
case HInstruction::kArrayLength:
case HInstruction::kArraySet:
@@ -839,6 +843,7 @@ static bool CanAssembleGraphForRiscv64(HGraph* graph) {
case HInstruction::kInvokeInterface:
case HInstruction::kInvokeCustom:
case HInstruction::kInvokePolymorphic:
+ case HInstruction::kInvokeUnresolved:
case HInstruction::kCurrentMethod:
case HInstruction::kNullCheck:
case HInstruction::kDeoptimize: