summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2014-02-12 10:37:11 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-02-12 10:37:12 +0000
commitb422d3fed381d93451ffcf96cbf928d7a13d3701 (patch)
tree48998bbff239544b1d9947f3ce81ed6bbe572652 /compiler/driver/compiler_driver.cc
parent763a08537134c14defe8a591f88846164adef0c9 (diff)
parentbbcc0c0a17262f3d2a70fc0a82e1783862f708cc (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.cc2
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 {