From: palfia@homejinni.com Date: Thu, 12 Sep 2013 20:11:26 +0000 (+0000) Subject: MIPS: Fix of r16681 X-Git-Tag: upstream/4.7.83~12520 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=705d813291732bfe7db51fc49912eaa4497930a2;p=platform%2Fupstream%2Fv8.git MIPS: Fix of r16681 Use v0 for return value. BUG= R=gergely@homejinni.com Review URL: https://codereview.chromium.org/23437032 Patch from Balazs Kilvady . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16694 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc index 2996693..3aabd97 100644 --- a/src/mips/builtins-mips.cc +++ b/src/mips/builtins-mips.cc @@ -337,7 +337,7 @@ void Builtins::Generate_InRecompileQueue(MacroAssembler* masm) { CallRuntimePassFunction(masm, Runtime::kTryInstallRecompiledCode); // Tail call to returned code. - __ Addu(at, a2, Operand(Code::kHeaderSize - kHeapObjectTag)); + __ Addu(at, v0, Operand(Code::kHeaderSize - kHeapObjectTag)); __ Jump(at); __ bind(&ok);