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

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

Issue 18749004: Rename AllocationSite::payload to AllocationSite::transition_info (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments 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/ia32/code-stubs-ia32.cc ('k') | src/objects.h » ('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 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 CheckPrototypes(Handle<JSObject>::cast(object), edx, holder, ebx, eax, edi, 1718 CheckPrototypes(Handle<JSObject>::cast(object), edx, holder, ebx, eax, edi,
1719 name, &miss); 1719 name, &miss);
1720 } else { 1720 } else {
1721 ASSERT(cell->value() == *function); 1721 ASSERT(cell->value() == *function);
1722 GenerateGlobalReceiverCheck(Handle<JSObject>::cast(object), holder, name, 1722 GenerateGlobalReceiverCheck(Handle<JSObject>::cast(object), holder, name,
1723 &miss); 1723 &miss);
1724 GenerateLoadFunctionFromCell(cell, function, &miss); 1724 GenerateLoadFunctionFromCell(cell, function, &miss);
1725 } 1725 }
1726 1726
1727 Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite(); 1727 Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite();
1728 site->set_payload(Smi::FromInt(GetInitialFastElementsKind())); 1728 site->set_transition_info(Smi::FromInt(GetInitialFastElementsKind()));
1729 Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site); 1729 Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site);
1730 __ mov(eax, Immediate(argc)); 1730 __ mov(eax, Immediate(argc));
1731 __ mov(ebx, site_feedback_cell); 1731 __ mov(ebx, site_feedback_cell);
1732 __ mov(edi, function); 1732 __ mov(edi, function);
1733 1733
1734 ArrayConstructorStub stub(isolate()); 1734 ArrayConstructorStub stub(isolate());
1735 __ TailCallStub(&stub); 1735 __ TailCallStub(&stub);
1736 1736
1737 __ bind(&miss); 1737 __ bind(&miss);
1738 GenerateMissBranch(); 1738 GenerateMissBranch();
(...skipping 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after
3830 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow); 3830 TailCallBuiltin(masm, Builtins::kKeyedStoreIC_Slow);
3831 } 3831 }
3832 } 3832 }
3833 3833
3834 3834
3835 #undef __ 3835 #undef __
3836 3836
3837 } } // namespace v8::internal 3837 } } // namespace v8::internal
3838 3838
3839 #endif // V8_TARGET_ARCH_IA32 3839 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698