Fixed lint error.


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@364 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e4a82f24
...@@ -762,7 +762,9 @@ void HeapObject::CopyBody(JSObject* from) { ...@@ -762,7 +762,9 @@ void HeapObject::CopyBody(JSObject* from) {
ASSERT(map() == from->map()); ASSERT(map() == from->map());
ASSERT(Size() == from->Size()); ASSERT(Size() == from->Size());
int object_size = Size(); int object_size = Size();
for (int offset = kHeaderSize; offset < object_size; offset += kPointerSize) { for (int offset = kHeaderSize;
offset < object_size;
offset += kPointerSize) {
Object* value = READ_FIELD(from, offset); Object* value = READ_FIELD(from, offset);
// Note: WRITE_FIELD does not update the write barrier. // Note: WRITE_FIELD does not update the write barrier.
WRITE_FIELD(this, offset, value); WRITE_FIELD(this, offset, value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment