From: iposva@chromium.org Date: Wed, 15 Oct 2008 06:14:39 +0000 (+0000) Subject: Fix lint problem. X-Git-Tag: upstream/4.7.83~25193 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d67fa3c308bdbe7b6d23d596110dc56be4e02306;p=platform%2Fupstream%2Fv8.git Fix lint problem. TBR=kasperl Review URL: http://codereview.chromium.org/7401 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@502 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/stub-cache-arm.cc b/src/stub-cache-arm.cc index ed78e1a06..9b9a32216 100644 --- a/src/stub-cache-arm.cc +++ b/src/stub-cache-arm.cc @@ -425,7 +425,7 @@ Object* StoreStubCompiler::CompileStoreField(JSObject* object, // 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 @@ Object* StoreStubCompiler::CompileStoreField(JSObject* object, // 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);