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:
e3b5cb5
)
ART: Fix sharpening across dex files
author
Andreas Gampe
<agampe@google.com>
Tue, 27 May 2014 21:43:03 +0000
(14:43 -0700)
committer
Andreas Gampe
<agampe@google.com>
Tue, 27 May 2014 21:43:03 +0000
(14:43 -0700)
Bug:
15196336
Change-Id: If4301bcddce0ddbc60bb33403e4a76eed35bcb2f
compiler/driver/compiler_driver.cc
patch
|
blob
|
history
diff --git
a/compiler/driver/compiler_driver.cc
b/compiler/driver/compiler_driver.cc
index
3304561
..
8d4e283
100644
(file)
--- a/
compiler/driver/compiler_driver.cc
+++ b/
compiler/driver/compiler_driver.cc
@@
-1135,7
+1135,7
@@
void CompilerDriver::GetCodeAndMethodForDirectCall(InvokeType* type, InvokeType
if (dex_method_idx != DexFile::kDexNoIndex) {
target_method->dex_method_index = dex_method_idx;
} else {
- if (compiling_boot) {
+ if (compiling_boot
&& !use_dex_cache
) {
target_method->dex_method_index = method->GetDexMethodIndex();
target_method->dex_file = method->GetDeclaringClass()->GetDexCache()->GetDexFile();
}