From 83c8e27a292e6e002fb3b3def75cf6d8653378e8 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 31 Jan 2017 14:36:37 +0000 Subject: Code refactoring around sharpening HLoadClass. Even if the class is not accessible through the dex cache, we can access it by other means (eg boot class, jit table). So rewrite static field access instruction builder to not bail out if a class cannot be accessed through the dex cache. bug:34966607 test: test-art-host test-art-target Change-Id: I88e4e09951a002b480eb8f271726b56f981291bd --- compiler/optimizing/optimizing_compiler.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/optimizing/optimizing_compiler.cc') diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 297500b12f..120bdbf7ef 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -995,6 +995,7 @@ CodeGenerator* OptimizingCompiler::TryCompile(ArenaAllocator* arena, &dex_file, *code_item, compiler_driver, + codegen.get(), compilation_stats_.get(), interpreter_metadata, dex_cache, -- cgit v1.2.3-59-g8ed1b