Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Side by Side Diff: src/mips/code-stubs-mips.cc

Issue 10979066: MIPS: Fix ARM bug introduced in r12604 that caused crashes on ARM on crypto-md5 from SunSpider. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on r12737 Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/mips/ic-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 7739 matching lines...) Expand 10 before | Expand all | Expand 10 after
7750 __ lw(t1, FieldMemOperand(a1, JSObject::kElementsOffset)); 7750 __ lw(t1, FieldMemOperand(a1, JSObject::kElementsOffset));
7751 __ sll(t2, a3, kPointerSizeLog2 - kSmiTagSize); 7751 __ sll(t2, a3, kPointerSizeLog2 - kSmiTagSize);
7752 __ Addu(t2, t1, t2); 7752 __ Addu(t2, t1, t2);
7753 __ sw(a0, FieldMemOperand(t2, FixedArray::kHeaderSize)); 7753 __ sw(a0, FieldMemOperand(t2, FixedArray::kHeaderSize));
7754 __ Ret(USE_DELAY_SLOT); 7754 __ Ret(USE_DELAY_SLOT);
7755 __ mov(v0, a0); 7755 __ mov(v0, a0);
7756 7756
7757 // Array literal has ElementsKind of FAST_*_DOUBLE_ELEMENTS. 7757 // Array literal has ElementsKind of FAST_*_DOUBLE_ELEMENTS.
7758 __ bind(&double_elements); 7758 __ bind(&double_elements);
7759 __ lw(t1, FieldMemOperand(a1, JSObject::kElementsOffset)); 7759 __ lw(t1, FieldMemOperand(a1, JSObject::kElementsOffset));
7760 __ StoreNumberToDoubleElements(a0, a3, a1, t1, t2, t3, t5, a2, 7760 __ StoreNumberToDoubleElements(a0, a3, a1,
7761 // Overwrites all regs after this.
7762 t1, t2, t3, t5, a2,
7761 &slow_elements); 7763 &slow_elements);
7762 __ Ret(USE_DELAY_SLOT); 7764 __ Ret(USE_DELAY_SLOT);
7763 __ mov(v0, a0); 7765 __ mov(v0, a0);
7764 } 7766 }
7765 7767
7766 7768
7767 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { 7769 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) {
7768 if (entry_hook_ != NULL) { 7770 if (entry_hook_ != NULL) {
7769 ProfileEntryHookStub stub; 7771 ProfileEntryHookStub stub;
7770 __ push(ra); 7772 __ push(ra);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
7822 __ Pop(ra, t1, a1); 7824 __ Pop(ra, t1, a1);
7823 __ Ret(); 7825 __ Ret();
7824 } 7826 }
7825 7827
7826 7828
7827 #undef __ 7829 #undef __
7828 7830
7829 } } // namespace v8::internal 7831 } } // namespace v8::internal
7830 7832
7831 #endif // V8_TARGET_ARCH_MIPS 7833 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/ic-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698