Revision: 13841
Author: [email protected]
Date: Wed Mar 6 07:11:27 2013
Log: Arm fix: incorrect register used in CompareObjectType
[email protected]
BUG=
Review URL: https://codereview.chromium.org/12532002
http://code.google.com/p/v8/source/detail?r=13841
Modified:
/branches/bleeding_edge/src/arm/builtins-arm.cc
/branches/bleeding_edge/src/mips/builtins-mips.cc
=======================================
--- /branches/bleeding_edge/src/arm/builtins-arm.cc Fri Mar 1 08:59:53 2013
+++ /branches/bleeding_edge/src/arm/builtins-arm.cc Wed Mar 6 07:11:27 2013
@@ -554,7 +554,7 @@
__ ldr(r3, FieldMemOperand(r1,
JSFunction::kPrototypeOrInitialMapOffset));
__ tst(r3, Operand(kSmiTagMask));
__ Assert(ne, "Unexpected initial map for Array function");
- __ CompareObjectType(r1, r3, r4, MAP_TYPE);
+ __ CompareObjectType(r3, r3, r4, MAP_TYPE);
__ Assert(eq, "Unexpected initial map for Array function");
if (FLAG_optimize_constructed_arrays) {
=======================================
--- /branches/bleeding_edge/src/mips/builtins-mips.cc Wed Mar 6 04:25:42
2013
+++ /branches/bleeding_edge/src/mips/builtins-mips.cc Wed Mar 6 07:11:27
2013
@@ -568,7 +568,7 @@
__ And(t0, a3, Operand(kSmiTagMask));
__ Assert(ne, "Unexpected initial map for Array function (3)",
t0, Operand(zero_reg));
- __ GetObjectType(a1, a3, t0);
+ __ GetObjectType(a3, a3, t0);
__ Assert(eq, "Unexpected initial map for Array function (4)",
t0, Operand(MAP_TYPE));
--
--
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.