Reviewers: Paul Lind, kisg, kilvadyb, danno, mvstanton,

Description:
MIPS: Rename AllocationSite::payload to AllocationSite::transition_info

Port r15556 (3cd37fff)

BUG=


Please review this at https://codereview.chromium.org/18615008/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/mips/code-stubs-mips.cc
  M src/mips/stub-cache-mips.cc


Index: src/mips/code-stubs-mips.cc
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
index d290342fe39a6039c7c21b50fa844b675d2876f7..a264352a4c26e3082aa35c8e265941e302c683d6 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);
@@ -7500,7 +7500,7 @@ void ArrayConstructorStub::Generate(MacroAssembler* masm) {
         a3, Operand(at));
   }

-  __ lw(a3, FieldMemOperand(a3, AllocationSite::kPayloadOffset));
+  __ lw(a3, FieldMemOperand(a3, AllocationSite::kTransitionInfoOffset));
   __ SmiUntag(a3);
   __ jmp(&switch_ready);
   __ bind(&no_info);
Index: src/mips/stub-cache-mips.cc
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc
index 945fc52cc725cca30c89aa494332c80febfeb0e9..c0924985a751dc8c7d2a66e1d2178d922839dd84 100644
--- a/src/mips/stub-cache-mips.cc
+++ b/src/mips/stub-cache-mips.cc
@@ -1745,7 +1745,7 @@ Handle<Code> CallStubCompiler::CompileArrayCodeCall(
   }

   Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite();
-  site->set_payload(Smi::FromInt(GetInitialFastElementsKind()));
+  site->set_transition_info(Smi::FromInt(GetInitialFastElementsKind()));
   Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site);
   __ li(a0, Operand(argc));
   __ li(a2, Operand(site_feedback_cell));


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to