diff options
| author | 2013-01-04 15:14:08 -0800 | |
|---|---|---|
| committer | 2013-01-04 15:31:42 -0800 | |
| commit | fffdb023275613612a22ec62b3421ffe4d2b73fe (patch) | |
| tree | eb24cffd6ad7a50a11e9b3c3bcad3688865192e7 /src/compiler/compiler_ir.h | |
| parent | c8253caa7045a7683666725a6d8aeba96a8f9c7a (diff) | |
Add memory barrier for final instance fields.
Change-Id: I1a02f0f75e974f4c84d61254da05480c20ff881c
Diffstat (limited to 'src/compiler/compiler_ir.h')
| -rw-r--r-- | src/compiler/compiler_ir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/compiler_ir.h b/src/compiler/compiler_ir.h index 9c67cd567c..c5f5107eed 100644 --- a/src/compiler/compiler_ir.h +++ b/src/compiler/compiler_ir.h @@ -277,6 +277,7 @@ struct CompilationUnit { class_linker(NULL), dex_file(NULL), class_loader(NULL), + class_def_idx(0), method_idx(0), code_item(NULL), access_flags(0), @@ -345,6 +346,7 @@ struct CompilationUnit { mstats(NULL), checkstats(NULL), gen_bitcode(false), + llvm_info(NULL), context(NULL), module(NULL), func(NULL), @@ -368,6 +370,7 @@ struct CompilationUnit { ClassLinker* class_linker; // Linker to resolve fields and methods. const DexFile* dex_file; // DexFile containing the method being compiled. jobject class_loader; // compiling method's class loader. + uint32_t class_def_idx; // compiling method's defining class definition index. uint32_t method_idx; // compiling method's index into method_ids of DexFile. const DexFile::CodeItem* code_item; // compiling method's DexFile code_item. uint32_t access_flags; // compiling method's access flags. |