summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author David Sehr <sehr@google.com> 2018-01-30 18:48:51 +0000
committer David Sehr <sehr@google.com> 2018-01-30 18:48:51 +0000
commit787784f9effb126b5d0d3dc97d544c4a477b5daf (patch)
tree1ff6d9fd284a4dd2a337165dff20e71137997c9d /compiler/driver/compiler_driver.cc
parentb40b7e73469339a6b667b4a2e2b8690112a74dc9 (diff)
Revert "Make libdexfile build independent of runtime dir"
This reverts commit b40b7e73469339a6b667b4a2e2b8690112a74dc9. Reason for revert: on device libdexfile.so missing Change-Id: I9bd61a98bef870400580e8c991cb061d3f57fa72
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 c617f54f55..60537fd5c8 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -932,7 +932,7 @@ class ResolveCatchBlockExceptionsClassVisitor : public ClassVisitor {
if (method->GetCodeItem() == nullptr) {
return; // native or abstract method
}
- CodeItemDataAccessor accessor(method->DexInstructionData());
+ CodeItemDataAccessor accessor(method);
if (accessor.TriesSize() == 0) {
return; // nothing to process
}