diff options
author | Andreas Gampe <agampe@google.com> | 2016-09-26 12:04:26 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2016-09-28 09:00:08 -0700 |
commit | 75a7db67f0e56bc0ccc63df4a6a1bb04ab3e86b1 (patch) | |
tree | 2d426df6f2807606811c45ae22597e2098dd8a2f /compiler/optimizing/instruction_builder.cc | |
parent | fd8339e58e3c09097165feeed7a2d70482d40130 (diff) |
ART: Factor out IMT from ArtMethod
Move IMT Conflict Table to its own file. Move IMT index computation to
ImTable.
In preparation for code using this independent of specific ArtMethods.
Bug: 31594153
Test: m test-art-host
Change-Id: Ifd6e304bb86724c5284984c4655c43d3af357f84
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
-rw-r--r-- | compiler/optimizing/instruction_builder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc index 139daa71ce..3b08d9f989 100644 --- a/compiler/optimizing/instruction_builder.cc +++ b/compiler/optimizing/instruction_builder.cc @@ -21,6 +21,7 @@ #include "class_linker.h" #include "dex_instruction-inl.h" #include "driver/compiler_options.h" +#include "imtable-inl.h" #include "scoped_thread_state_change.h" namespace art { @@ -895,7 +896,7 @@ bool HInstructionBuilder::BuildInvoke(const Instruction& instruction, dex_pc, method_idx, resolved_method, - resolved_method->GetImtIndex()); + ImTable::GetImtIndex(resolved_method)); } return HandleInvoke(invoke, |