diff options
author | 2016-11-21 21:17:32 +0000 | |
---|---|---|
committer | 2016-11-21 21:17:32 +0000 | |
commit | a598b869b255b4daeaa34d1dd0939222a3a791b7 (patch) | |
tree | 5af89e57aaa81cabbee54c924a9319814c39a81d /compiler/optimizing/optimizing_compiler.cc | |
parent | b2dc55149665fa288d44136642a6814a3a5a74a4 (diff) | |
parent | a5b09a67034e57a6e10231dd4bd92f4cb50b824c (diff) |
Merge "ART: Add dex::TypeIndex"
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 85519c96e4..604d99c682 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -61,6 +61,7 @@ #include "debug/method_debug_info.h" #include "dex/verification_results.h" #include "dex/verified_method.h" +#include "dex_file_types.h" #include "driver/compiler_driver-inl.h" #include "driver/compiler_options.h" #include "driver/dex_compilation_unit.h" @@ -948,7 +949,7 @@ CodeGenerator* OptimizingCompiler::TryCompile(ArenaAllocator* arena, graph->SetArtMethod(method); ScopedObjectAccess soa(Thread::Current()); interpreter_metadata = method->GetQuickenedInfo(class_linker->GetImagePointerSize()); - uint16_t type_index = method->GetDeclaringClass()->GetDexTypeIndex(); + dex::TypeIndex type_index = method->GetDeclaringClass()->GetDexTypeIndex(); // Update the dex cache if the type is not in it yet. Note that under AOT, // the verifier must have set it, but under JIT, there's no guarantee, as we |