Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: src/objects-inl.h

Issue 4036: - Added new object type, RegExp, for regular expressions. (Closed)
Patch Set: Fixed lint error Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 28ffd7432ee2721b1c90e3c677a9be046011e9a3..61ab68ba184a408b767a3378e031d2cf10188a72 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -762,7 +762,9 @@ void HeapObject::CopyBody(JSObject* from) {
ASSERT(map() == from->map());
ASSERT(Size() == from->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);
// Note: WRITE_FIELD does not update the write barrier.
WRITE_FIELD(this, offset, value);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698