commit | 3d2ec35be5aadecc9d2bbd80394929ba3b36a4bf | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Oct 10 15:39:11 2014 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Fri Oct 10 15:40:01 2014 +0100 |
tree | e007e66d240f12782361e998719901145508243f | |
parent | acfbbd4df2fc1c79a7102587bebf398f95b5e5de [diff] [blame] |
Fix ScopedArenaAllocator::Reset() for Create()d allocators. Change-Id: I88cbb329911ed489768772218b49b6f1756ffd86
diff --git a/compiler/utils/scoped_arena_allocator.h b/compiler/utils/scoped_arena_allocator.h index 62ea330..523f158 100644 --- a/compiler/utils/scoped_arena_allocator.h +++ b/compiler/utils/scoped_arena_allocator.h
@@ -132,6 +132,8 @@ uint8_t* mark_ptr_; uint8_t* mark_end_; + void DoReset(); + template <typename T> friend class ScopedArenaAllocatorAdapter;