summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/ralloc_util.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2013-12-09 13:42:32 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2013-12-09 13:42:33 +0000
commit37035d6b368c786812ffb5944ccea512783cfa5c (patch)
treebb0c9fa350a7563ddd1b8ebbae92b3812633c45c /compiler/dex/quick/ralloc_util.cc
parentf4d4ce50947a059a979fc184139ad97def386146 (diff)
parent73e08b37512a2d38cdbaf9a3869dbd7554e6e1b1 (diff)
Merge "Fix Mir2Lir::AllocFreeTemp() to return -1 on failure."
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 41a57afca1..cef013e9d8 100644
--- a/compiler/dex/quick/ralloc_util.cc
+++ b/compiler/dex/quick/ralloc_util.cc
@@ -338,7 +338,7 @@ int Mir2Lir::AllocTempDouble() {
int Mir2Lir::AllocFreeTemp() {
return AllocTempBody(reg_pool_->core_regs,
reg_pool_->num_core_regs,
- &reg_pool_->next_core_reg, true);
+ &reg_pool_->next_core_reg, false);
}
int Mir2Lir::AllocTemp() {