summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/ralloc_util.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-03-06 21:06:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-03-06 21:07:44 +0000
commit41b15f9f06c7e2e5aac13f709c66412e6c299b67 (patch)
tree612885348ebff77bd74b2bef63112f864563b6e7 /compiler/dex/quick/ralloc_util.cc
parent3b5408b565509341301e6da82f3d07c75aad5f51 (diff)
parent6ea651f0f4c7de4580beb2e887d86802c1ae0738 (diff)
Merge "Initial support for quick compiler on MIPS64r6."
Diffstat (limited to 'compiler/dex/quick/ralloc_util.cc')
-rw-r--r--compiler/dex/quick/ralloc_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/ralloc_util.cc b/compiler/dex/quick/ralloc_util.cc
index 67fb8040f7..682fa281ac 100644
--- a/compiler/dex/quick/ralloc_util.cc
+++ b/compiler/dex/quick/ralloc_util.cc
@@ -1355,7 +1355,7 @@ RegLocation Mir2Lir::GetReturn(RegisterClass reg_class) {
default: res = LocCReturn(); break;
}
Clobber(res.reg);
- if (cu_->instruction_set == kMips) {
+ if (cu_->instruction_set == kMips || cu_->instruction_set == kMips64) {
MarkInUse(res.reg);
} else {
LockTemp(res.reg);