diff options
| author | 2016-01-15 11:37:38 +0000 | |
|---|---|---|
| committer | 2016-01-15 11:37:38 +0000 | |
| commit | e1b0f475e851072d0083faf6e07d274e9f1fe6a5 (patch) | |
| tree | 8e8b9c330ae9c886611c6e5ae598e21d9b3ea17a /compiler/driver/compiler_driver.h | |
| parent | 28943466954ca5d6f586bb5496f7f3f0f85fe87a (diff) | |
| parent | 0b8cdfaef922cac9da13e6a8ac4e428031c02b50 (diff) | |
Merge "ART: Fix CompilerDriver::AreInSameOatFile()."
Diffstat (limited to 'compiler/driver/compiler_driver.h')
| -rw-r--r-- | compiler/driver/compiler_driver.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index 3847c8183e..17b2f5e98d 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -122,8 +122,10 @@ class CompilerDriver { return true; } auto it1 = dex_file_oat_filename_map_->find(d1); + DCHECK(it1 != dex_file_oat_filename_map_->end()); auto it2 = dex_file_oat_filename_map_->find(d2); - return it1 == it2; + DCHECK(it2 != dex_file_oat_filename_map_->end()); + return it1->second == it2->second; } void CompileAll(jobject class_loader, |