diff options
author | 2014-02-12 10:37:11 +0000 | |
---|---|---|
committer | 2014-02-12 10:37:12 +0000 | |
commit | b422d3fed381d93451ffcf96cbf928d7a13d3701 (patch) | |
tree | 48998bbff239544b1d9947f3ce81ed6bbe572652 /compiler/driver/compiler_driver.cc | |
parent | 763a08537134c14defe8a591f88846164adef0c9 (diff) | |
parent | bbcc0c0a17262f3d2a70fc0a82e1783862f708cc (diff) |
Merge "Speed up method lookup in a different dex file."
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 402d4f4b18..61e9fbb151 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -1200,7 +1200,7 @@ void CompilerDriver::GetCodeAndMethodForDirectCall(InvokeType* type, InvokeType if (no_guarantee_of_dex_cache_entry) { // See if the method is also declared in this dex cache. uint32_t dex_method_idx = MethodHelper(method).FindDexMethodIndexInOtherDexFile( - *target_method->dex_file); + *target_method->dex_file, target_method->dex_method_index); if (dex_method_idx != DexFile::kDexNoIndex) { target_method->dex_method_index = dex_method_idx; } else { |