| Index: src/zone-inl.h
|
| diff --git a/src/zone-inl.h b/src/zone-inl.h
|
| index 5893a2f80ebbe97178e199a127049d53ae4eac77..467296039c2cc0d013abcdd0ea889a3827a65542 100644
|
| --- a/src/zone-inl.h
|
| +++ b/src/zone-inl.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -47,6 +47,7 @@ inline void* Zone::New(int size) {
|
|
|
| // Check that the result has the proper alignment and return it.
|
| ASSERT(IsAddressAligned(result, kAlignment, 0));
|
| + allocation_size_ += size;
|
| return reinterpret_cast<void*>(result);
|
| }
|
|
|
|
|