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

Side by Side Diff: src/mips/stub-cache-mips.cc

Issue 23534011: MIPS: VFP cleanup now that VFP2 is the baseline. (Closed) Base URL: git@github.com:paul99/v8m-rb.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | no next file » | 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 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1768 __ Addu(v0, v0, Operand(Smi::FromInt(argc))); 1768 __ Addu(v0, v0, Operand(Smi::FromInt(argc)));
1769 1769
1770 // Get the elements' length. 1770 // Get the elements' length.
1771 __ lw(t0, FieldMemOperand(elements, FixedArray::kLengthOffset)); 1771 __ lw(t0, FieldMemOperand(elements, FixedArray::kLengthOffset));
1772 1772
1773 // Check if we could survive without allocation. 1773 // Check if we could survive without allocation.
1774 __ Branch(&call_builtin, gt, v0, Operand(t0)); 1774 __ Branch(&call_builtin, gt, v0, Operand(t0));
1775 1775
1776 __ lw(t0, MemOperand(sp, (argc - 1) * kPointerSize)); 1776 __ lw(t0, MemOperand(sp, (argc - 1) * kPointerSize));
1777 __ StoreNumberToDoubleElements( 1777 __ StoreNumberToDoubleElements(
1778 t0, v0, elements, a3, t1, a2, t5, 1778 t0, v0, elements, a3, t1, a2,
1779 &call_builtin, argc * kDoubleSize); 1779 &call_builtin, argc * kDoubleSize);
1780 1780
1781 // Save new length. 1781 // Save new length.
1782 __ sw(v0, FieldMemOperand(receiver, JSArray::kLengthOffset)); 1782 __ sw(v0, FieldMemOperand(receiver, JSArray::kLengthOffset));
1783 1783
1784 // Check for a smi. 1784 // Check for a smi.
1785 __ DropAndRet(argc + 1); 1785 __ DropAndRet(argc + 1);
1786 1786
1787 __ bind(&with_write_barrier); 1787 __ bind(&with_write_barrier);
1788 1788
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
3169 // ----------------------------------- 3169 // -----------------------------------
3170 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_MissForceGeneric); 3170 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_MissForceGeneric);
3171 } 3171 }
3172 3172
3173 3173
3174 #undef __ 3174 #undef __
3175 3175
3176 } } // namespace v8::internal 3176 } } // namespace v8::internal
3177 3177
3178 #endif // V8_TARGET_ARCH_MIPS 3178 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698