From 1eac611491be42e7fcf3e1d17914a044fe696936 Mon Sep 17 00:00:00 2001 From: "palfia@homejinni.com" Date: Fri, 13 Jun 2014 02:00:13 +0000 Subject: [PATCH] MIPS: Fix register usage after r21822. The at register is no longer in usage, so changed it to "scratch". BUG= R=plind44@gmail.com Review URL: https://codereview.chromium.org/335753003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21825 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mips/lithium-codegen-mips.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc index f1c7b9a..5edca6a 100644 --- a/src/mips/lithium-codegen-mips.cc +++ b/src/mips/lithium-codegen-mips.cc @@ -1341,7 +1341,7 @@ void LCodeGen::DoFlooringDivByPowerOf2I(LFlooringDivByPowerOf2I* instr) { __ Xor(scratch, scratch, result); if (divisor == -1) { if (instr->hydrogen()->CheckFlag(HValue::kLeftCanBeMinInt)) { - DeoptimizeIf(ge, instr->environment(), at, Operand(zero_reg)); + DeoptimizeIf(ge, instr->environment(), scratch, Operand(zero_reg)); } return; } -- 2.7.4