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

Message:
This depends on: https://codereview.chromium.org/159393002

PTAL.

Description:
MIPS: Add kExpectedFixedArrayInRegisterA2 message.

Port r19244 (08e0afd9)

BUG=

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

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

Affected files (+3, -3 lines):
  M src/mips/code-stubs-mips.cc
  M src/objects.h


Index: src/mips/code-stubs-mips.cc
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
index 1d05dcef701ae0eb27210d46b9f4435be6150465..3d4d60516f7042bf3f698f2cc1eb4d3b3d637c5e 100644
--- a/src/mips/code-stubs-mips.cc
+++ b/src/mips/code-stubs-mips.cc
@@ -5511,7 +5511,7 @@ void ArrayConstructorStub::Generate(MacroAssembler* masm) {
     __ LoadRoot(at, Heap::kUndefinedValueRootIndex);
     __ Branch(&okay_here, eq, a2, Operand(at));
     __ lw(t0, FieldMemOperand(a2, 0));
-    __ Assert(eq, kExpectedFixedArrayInRegisterR2,
+    __ Assert(eq, kExpectedFixedArrayInRegisterA2,
         t0, Operand(fixed_array_map));

     // a3 should be a smi if we don't have undefined in a2
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 2a081a51650d9367dffd7065fcf65f911b335913..8144e0d4b76e48ffa4b54f0ecd7e95283c773f1f 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1146,8 +1146,8 @@ class MaybeObject BASE_EMBEDDED {
V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \ V(kExpectedAlignmentMarker, "expected alignment marker") \ V(kExpectedAllocationSite, "expected allocation site") \ - V(kExpectedPropertyCellInRegisterA2, \ - "Expected property cell in register a2") \ + V(kExpectedFixedArrayInRegisterA2, \ + "Expected fixed array in register a2") \ V(kExpectedFixedArrayInRegisterEbx, \ "Expected fixed array in register ebx") \ V(kExpectedFixedArrayInRegisterR2, \


--
--
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