summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2023-10-12 11:22:21 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2023-10-13 15:52:22 +0000
commitc79c1912043294f088ec838c12d6d3f2d5b64aa0 (patch)
tree7d962c6069ba75253024cb1dd141950a150cb477 /compiler/optimizing/optimizing_compiler.cc
parent029032e3deb627a2e44feba9a6aac5d5d3cdccb2 (diff)
riscv64: Implement allocation entrypoints.
Test: # Edit `run-test` to disable checker, then testrunner.py --target --64 --ndebug --optimizing # Ignore 7 pre-existing failures. Bug: 283082089 Change-Id: Ie5a874c5d3e03cec828fdfb471f0f96470b6c7e1
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r--compiler/optimizing/optimizing_compiler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc
index fbab8659fe..682c2418f8 100644
--- a/compiler/optimizing/optimizing_compiler.cc
+++ b/compiler/optimizing/optimizing_compiler.cc
@@ -762,6 +762,8 @@ static bool CanAssembleGraphForRiscv64(HGraph* graph) {
case HInstruction::kLoadString:
case HInstruction::kLoadMethodHandle:
case HInstruction::kLoadMethodType:
+ case HInstruction::kNewArray:
+ case HInstruction::kNewInstance:
case HInstruction::kInstanceFieldGet:
case HInstruction::kInstanceFieldSet:
case HInstruction::kStaticFieldGet: