| Index: src/zone-inl.h
|
| ===================================================================
|
| --- src/zone-inl.h (revision 6800)
|
| +++ src/zone-inl.h (working copy)
|
| @@ -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 @@
|
|
|
| // Check that the result has the proper alignment and return it.
|
| ASSERT(IsAddressAligned(result, kAlignment, 0));
|
| + allocation_size_ += size;
|
| return reinterpret_cast<void*>(result);
|
| }
|
|
|
|
|