diff options
author | Vladimir Marko <vmarko@google.com> | 2015-03-31 18:48:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-31 18:48:29 +0000 |
commit | f93c6fe65c4c5e601cce467e87bbe71a87c5bac0 (patch) | |
tree | cc80db464fa34c9b10e5f3fceee8596c0fe68a36 /compiler/dex/quick/quick_compiler.cc | |
parent | 1f940310658cd5a15e12305463fb6d2d508bbd26 (diff) | |
parent | 20f85597828194c12be10d3a927999def066555e (diff) | |
download | art-f93c6fe65c4c5e601cce467e87bbe71a87c5bac0.tar.gz art-f93c6fe65c4c5e601cce467e87bbe71a87c5bac0.tar.bz2 art-f93c6fe65c4c5e601cce467e87bbe71a87c5bac0.zip |
Merge "Fixed layout for dex caches in boot image."
Diffstat (limited to 'compiler/dex/quick/quick_compiler.cc')
-rw-r--r-- | compiler/dex/quick/quick_compiler.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/dex/quick/quick_compiler.cc b/compiler/dex/quick/quick_compiler.cc index 6d289843e8..8baafc7fd2 100644 --- a/compiler/dex/quick/quick_compiler.cc +++ b/compiler/dex/quick/quick_compiler.cc @@ -634,6 +634,12 @@ CompiledMethod* QuickCompiler::Compile(const DexFile::CodeItem* code_item, instruction_set = kThumb2; } CompilationUnit cu(runtime->GetArenaPool(), instruction_set, driver, class_linker); + cu.dex_file = &dex_file; + cu.class_def_idx = class_def_idx; + cu.method_idx = method_idx; + cu.access_flags = access_flags; + cu.invoke_type = invoke_type; + cu.shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); CHECK((cu.instruction_set == kThumb2) || (cu.instruction_set == kArm64) || |