summaryrefslogtreecommitdiff
path: root/compiler/dex/compiler_ir.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2013-08-26 23:28:53 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-08-26 23:28:53 +0000
commita2cb85a2bf6abc28a177f6b41ded01c55483baa1 (patch)
tree3237b8353f2208a205eb06c9dc1796a5590a9b1b /compiler/dex/compiler_ir.h
parente2be9da597c69b92ffb707f2101b96076578b5e6 (diff)
parentf6c4b3ba3825de1dbb3e747a68b809c6cc8eb4db (diff)
Merge "New arena memory allocator." into dalvik-dev
Diffstat (limited to 'compiler/dex/compiler_ir.h')
-rw-r--r--compiler/dex/compiler_ir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/dex/compiler_ir.h b/compiler/dex/compiler_ir.h
index a9b5bf68fc..26d0923baa 100644
--- a/compiler/dex/compiler_ir.h
+++ b/compiler/dex/compiler_ir.h
@@ -43,7 +43,7 @@ class MIRGraph;
class Mir2Lir;
struct CompilationUnit {
- CompilationUnit()
+ explicit CompilationUnit(ArenaPool* pool)
: compiler_driver(NULL),
class_linker(NULL),
dex_file(NULL),
@@ -66,6 +66,7 @@ struct CompilationUnit {
num_regs(0),
num_compiler_temps(0),
compiler_flip_match(false),
+ arena(pool),
mir_graph(NULL),
cg(NULL) {}
/*