diff options
| author | 2014-12-04 02:28:28 +0000 | |
|---|---|---|
| committer | 2014-12-04 02:28:28 +0000 | |
| commit | 31bacb9da9c931aa04489b0701172c4a35a20e31 (patch) | |
| tree | 08a8bf01ddfc0fd3a012faac2b49fafa5853e56f /compiler/dex/quick/codegen_util.cc | |
| parent | 8b9a97e8b6ed97ff1991596cbd0f7ce78f004766 (diff) | |
| parent | ab972ef472001fa113d54486d7592979e33480b3 (diff) | |
Merge "Remove method verification results right after compiling a method"
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
| -rw-r--r-- | compiler/dex/quick/codegen_util.cc | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index 58bcee2124..00217549b0 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -775,6 +775,10 @@ void Mir2Lir::CreateNativeGcMap() {          ": " << PrettyMethod(cu_->method_idx, *cu_->dex_file);      native_gc_map_builder.AddEntry(native_offset, references);    } + +  // Maybe not necessary, but this could help prevent errors where we access the verified method +  // after it has been deleted. +  mir_graph_->GetCurrentDexCompilationUnit()->ClearVerifiedMethod();  }  /* Determine the offset of each literal field */  |