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

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

Issue 18615008: MIPS: Rename AllocationSite::payload to AllocationSite::transition_info (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | « src/mips/code-stubs-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 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 CheckPrototypes(Handle<JSObject>::cast(object), receiver, holder, a3, a0, 1738 CheckPrototypes(Handle<JSObject>::cast(object), receiver, holder, a3, a0,
1739 t0, name, &miss); 1739 t0, name, &miss);
1740 } else { 1740 } else {
1741 ASSERT(cell->value() == *function); 1741 ASSERT(cell->value() == *function);
1742 GenerateGlobalReceiverCheck(Handle<JSObject>::cast(object), holder, name, 1742 GenerateGlobalReceiverCheck(Handle<JSObject>::cast(object), holder, name,
1743 &miss); 1743 &miss);
1744 GenerateLoadFunctionFromCell(cell, function, &miss); 1744 GenerateLoadFunctionFromCell(cell, function, &miss);
1745 } 1745 }
1746 1746
1747 Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite(); 1747 Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite();
1748 site->set_payload(Smi::FromInt(GetInitialFastElementsKind())); 1748 site->set_transition_info(Smi::FromInt(GetInitialFastElementsKind()));
1749 Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site); 1749 Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site);
1750 __ li(a0, Operand(argc)); 1750 __ li(a0, Operand(argc));
1751 __ li(a2, Operand(site_feedback_cell)); 1751 __ li(a2, Operand(site_feedback_cell));
1752 __ li(a1, Operand(function)); 1752 __ li(a1, Operand(function));
1753 1753
1754 ArrayConstructorStub stub(isolate()); 1754 ArrayConstructorStub stub(isolate());
1755 __ TailCallStub(&stub); 1755 __ TailCallStub(&stub);
1756 1756
1757 __ bind(&miss); 1757 __ bind(&miss);
1758 GenerateMissBranch(); 1758 GenerateMissBranch();
(...skipping 2076 matching lines...) Expand 10 before | Expand all | Expand 10 after
3835 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow); 3835 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow);
3836 } 3836 }
3837 } 3837 }
3838 3838
3839 3839
3840 #undef __ 3840 #undef __
3841 3841
3842 } } // namespace v8::internal 3842 } } // namespace v8::internal
3843 3843
3844 #endif // V8_TARGET_ARCH_MIPS 3844 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698