Revision: 7544
Author: [email protected]
Date: Thu Apr 7 08:01:20 2011
Log: Fix cow fixed array map check in optimized arm code.
[email protected]
BUG=
TEST=
Review URL: http://codereview.chromium.org/6814016
http://code.google.com/p/v8/source/detail?r=7544
Modified:
/branches/bleeding_edge/src/arm/lithium-codegen-arm.cc
=======================================
--- /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Thu Apr 7
06:32:45 2011
+++ /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Thu Apr 7
08:01:20 2011
@@ -2410,6 +2410,7 @@
__ b(eq, &done);
__ LoadRoot(ip, Heap::kFixedCOWArrayMapRootIndex);
__ cmp(scratch, ip);
+ __ b(eq, &done);
__ ldr(scratch, FieldMemOperand(result, HeapObject::kMapOffset));
__ ldrb(scratch, FieldMemOperand(scratch, Map::kInstanceTypeOffset));
__ sub(scratch, scratch, Operand(FIRST_EXTERNAL_ARRAY_TYPE));
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev