diff options
author | Vladimir Marko <vmarko@google.com> | 2014-07-31 15:33:43 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-08-05 09:45:24 +0100 |
commit | 8081d2b8d7a743729557051d0294e040e61c747a (patch) | |
tree | 37c2bd8616831df3a0f9f2df0932ebb517dbcd3d /compiler/optimizing/graph_visualizer.h | |
parent | 8f1dc7a20049ba6e2f3c7f800908bff811cdbea1 (diff) |
Create allocator adapter for using Arena in std containers.
Create ArenaAllocatorAdapter, similar to the existing
ScopedArenaAllocatorAdapter, for allocating memory for
standard containers via the ArenaAllocator. Add the ability
to specify allocation kind rather than just kArenaAllocSTL
to both adapters. Move the scoped arena allocator to the
scoped_arena_containers.h header file.
Define template aliases for containers using the new adapter
and change a few MIRGraph and Mir2Lir members to use them.
Change-Id: I9bbc50248e0fed81729497b848cb29bf68444268
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions