commit | 51f79d01f96cb6021867745fec1ce35c2b1f6b43 | [log] [tgz] |
---|---|---|
author | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Oct 14 16:09:57 2010 +0000 |
committer | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Oct 14 16:09:57 2010 +0000 |
tree | 630bcf387f6429f47fb6040342d8338a4d7d6aae | |
parent | db7daa33dfeae4653574d8e354888b4801c57678 [diff] |
Initialized TPoolAllocator::totalBytes. Patch submitted by timeless. BUG=60 Review URL: http://codereview.appspot.com/2494041 git-svn-id: http://angleproject.googlecode.com/svn/trunk@452 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/PoolAlloc.cpp b/src/compiler/PoolAlloc.cpp index 7e348ca..8cbe560 100644 --- a/src/compiler/PoolAlloc.cpp +++ b/src/compiler/PoolAlloc.cpp
@@ -83,7 +83,8 @@ alignment(allocationAlignment), freeList(0), inUseList(0), - numCalls(0) + numCalls(0), + totalBytes(0) { // // Don't allow page sizes we know are smaller than all common