OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2894346
)
ART: Fix CompilerDriver::AreInSameOatFile().
author
Vladimir Marko
<vmarko@google.com>
Thu, 14 Jan 2016 22:06:23 +0000
(22:06 +0000)
committer
Vladimir Marko
<vmarko@google.com>
Fri, 15 Jan 2016 11:27:22 +0000
(11:27 +0000)
Bug:
26317072
Change-Id: I4279ef6559a43b5d59188616712a867f864b5d79
compiler/driver/compiler_driver.h
patch
|
blob
|
history
diff --git
a/compiler/driver/compiler_driver.h
b/compiler/driver/compiler_driver.h
index
3847c81
..
17b2f5e
100644
(file)
--- 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,