From: sgjesse@chromium.org Date: Fri, 8 Jul 2011 06:48:27 +0000 (+0000) Subject: MIPS: port Fix a typo in KeyedStoreIC, restore Kraken performance. X-Git-Tag: upstream/4.7.83~18950 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9d40dd5d9627375729aad521866fd13ae800d6a;p=platform%2Fupstream%2Fv8.git MIPS: port Fix a typo in KeyedStoreIC, restore Kraken performance. Ported r8539 (46103ea) BUG= TEST= Review URL: http://codereview.chromium.org//7327016 Patch from Paul Lind . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8569 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc index 3e5a009..40c31fc 100644 --- a/src/mips/stub-cache-mips.cc +++ b/src/mips/stub-cache-mips.cc @@ -4201,7 +4201,7 @@ void KeyedStoreStubCompiler::GenerateStoreFastElement(MacroAssembler* masm, // have been verified by the caller to not be a smi. // Check that the key is a smi. - __ JumpIfNotSmi(a0, &miss_force_generic); + __ JumpIfNotSmi(key_reg, &miss_force_generic); // Get the elements array and make sure it is a fast element array, not 'cow'. __ lw(elements_reg,