summaryrefslogtreecommitdiffstats
path: root/runtime/dex/code_item_accessors.h
diff options
context:
space:
mode:
authorDavid Sehr <sehr@google.com>2018-01-30 18:48:51 +0000
committerDavid Sehr <sehr@google.com>2018-01-30 18:48:51 +0000
commit787784f9effb126b5d0d3dc97d544c4a477b5daf (patch)
tree1ff6d9fd284a4dd2a337165dff20e71137997c9d /runtime/dex/code_item_accessors.h
parentb40b7e73469339a6b667b4a2e2b8690112a74dc9 (diff)
downloadandroid_art-787784f9effb126b5d0d3dc97d544c4a477b5daf.tar.gz
android_art-787784f9effb126b5d0d3dc97d544c4a477b5daf.tar.bz2
android_art-787784f9effb126b5d0d3dc97d544c4a477b5daf.zip
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 'runtime/dex/code_item_accessors.h')
-rw-r--r--runtime/dex/code_item_accessors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/dex/code_item_accessors.h b/runtime/dex/code_item_accessors.h
index beb78f6e4f..08f823cae8 100644
--- a/runtime/dex/code_item_accessors.h
+++ b/runtime/dex/code_item_accessors.h
@@ -85,6 +85,8 @@ class CodeItemDataAccessor : public CodeItemInstructionAccessor {
public:
ALWAYS_INLINE CodeItemDataAccessor(const DexFile& dex_file, const DexFile::CodeItem* code_item);
+ ALWAYS_INLINE explicit CodeItemDataAccessor(ArtMethod* method);
+
uint16_t RegistersSize() const {
return registers_size_;
}