diff options
Diffstat (limited to 'compiler/dex/compiler_ir.h')
-rw-r--r-- | compiler/dex/compiler_ir.h | 3 |
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) {} /* |