From 0565ca56049d1a408b9e789b48e13ed9e9f8140f Mon Sep 17 00:00:00 2001 From: "palfia@homejinni.com" Date: Mon, 8 Jul 2013 18:00:24 +0000 Subject: [PATCH] MIPS: Rename AllocationSite::payload to AllocationSite::transition_info Port r15556 (3cd37fff) BUG= Review URL: https://codereview.chromium.org/18615008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15563 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mips/code-stubs-mips.cc | 4 ++-- src/mips/stub-cache-mips.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc index 2c1ddb1b6e..770d4e7c24 100644 --- a/src/mips/code-stubs-mips.cc +++ b/src/mips/code-stubs-mips.cc @@ -7387,7 +7387,7 @@ static void CreateArrayDispatchOneArgument(MacroAssembler* masm) { // Save the resulting elements kind in type info __ SmiTag(a3); __ lw(t1, FieldMemOperand(a2, Cell::kValueOffset)); - __ sw(a3, FieldMemOperand(t1, AllocationSite::kPayloadOffset)); + __ sw(a3, FieldMemOperand(t1, AllocationSite::kTransitionInfoOffset)); __ SmiUntag(a3); __ bind(&normal_sequence); @@ -7496,7 +7496,7 @@ void ArrayConstructorStub::Generate(MacroAssembler* masm) { __ LoadRoot(at, Heap::kAllocationSiteMapRootIndex); __ Branch(&no_info, ne, t0, Operand(at)); - __ lw(a3, FieldMemOperand(a3, AllocationSite::kPayloadOffset)); + __ lw(a3, FieldMemOperand(a3, AllocationSite::kTransitionInfoOffset)); __ SmiUntag(a3); __ jmp(&switch_ready); __ bind(&no_info); diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc index 945fc52cc7..c0924985a7 100644 --- a/src/mips/stub-cache-mips.cc +++ b/src/mips/stub-cache-mips.cc @@ -1745,7 +1745,7 @@ Handle CallStubCompiler::CompileArrayCodeCall( } Handle site = isolate()->factory()->NewAllocationSite(); - site->set_payload(Smi::FromInt(GetInitialFastElementsKind())); + site->set_transition_info(Smi::FromInt(GetInitialFastElementsKind())); Handle site_feedback_cell = isolate()->factory()->NewCell(site); __ li(a0, Operand(argc)); __ li(a2, Operand(site_feedback_cell));