diff options
author | isaacs <i@izs.me> | 2012-01-23 16:16:42 -0800 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-01-23 17:16:27 -0800 |
commit | 40879f33cd083ad8e16860a19cce03a0126e12a5 (patch) | |
tree | 010f16d83e398481e074f35a1900ee6c9e011e16 /deps/v8/src/spaces-inl.h | |
parent | b1b16d117e6fe2ca889d10e7e0b62a5a60997d57 (diff) | |
download | node-new-40879f33cd083ad8e16860a19cce03a0126e12a5.tar.gz |
Upgrade V8 to 3.8.8
Diffstat (limited to 'deps/v8/src/spaces-inl.h')
-rw-r--r-- | deps/v8/src/spaces-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/spaces-inl.h b/deps/v8/src/spaces-inl.h index 1cfdc138ca..d0cddebf78 100644 --- a/deps/v8/src/spaces-inl.h +++ b/deps/v8/src/spaces-inl.h @@ -248,7 +248,7 @@ void Page::set_prev_page(Page* page) { // Try linear allocation in the page of alloc_info's allocation top. Does -// not contain slow case logic (eg, move to the next page or try free list +// not contain slow case logic (e.g. move to the next page or try free list // allocation) so it can be used by all the allocation functions and for all // the paged spaces. HeapObject* PagedSpace::AllocateLinearly(int size_in_bytes) { @@ -332,7 +332,7 @@ void NewSpace::ShrinkStringAtAllocationBoundary(String* string, int length) { string->set_length(length); if (Marking::IsBlack(Marking::MarkBitFrom(string))) { int delta = static_cast<int>(old_top - allocation_info_.top); - MemoryChunk::IncrementLiveBytes(string->address(), -delta); + MemoryChunk::IncrementLiveBytesFromMutator(string->address(), -delta); } } |