Author: [EMAIL PROTECTED]
Date: Tue Oct 14 23:14:39 2008
New Revision: 502
Modified:
branches/bleeding_edge/src/stub-cache-arm.cc
Log:
Fix lint problem.
TBR=kasperl
Review URL: http://codereview.chromium.org/7401
Modified: branches/bleeding_edge/src/stub-cache-arm.cc
==============================================================================
--- branches/bleeding_edge/src/stub-cache-arm.cc (original)
+++ branches/bleeding_edge/src/stub-cache-arm.cc Tue Oct 14 23:14:39 2008
@@ -425,7 +425,7 @@
// face of a transition we can use the old map here because the size
of the
// object and the number of in-object properties is not going to
change.
index -= object->map()->inobject_properties();
-
+
if (index >= 0) {
// Get the properties array
__ ldr(r1, FieldMemOperand(r3, JSObject::kPropertiesOffset));
@@ -442,11 +442,11 @@
// Set the property straight into the object.
int offset = object->map()->instance_size() + (index * kPointerSize);
__ str(r0, FieldMemOperand(r3, offset));
-
+
// Skip updating write barrier if storing a smi.
__ tst(r0, Operand(kSmiTagMask));
__ b(eq, &exit);
-
+
// Update the write barrier for the array address.
__ mov(r1, Operand(offset));
__ RecordWrite(r3, r1, r2);
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---