commit | 4a200f56b7075309316b04d550c9cc50f8314edd | [log] [tgz] |
---|---|---|
author | Jeff Hao <jeffhao@google.com> | Tue Apr 01 14:58:49 2014 -0700 |
committer | Jeff Hao <jeffhao@google.com> | Wed Apr 02 17:18:13 2014 -0700 |
tree | 0c01f484239203eeeb9f8e5f97300bca09b051ad | |
parent | d0ab1223cc8c5181e502196a7765790ad2aba3c8 [diff] [blame] |
Add support for -Xverify:none mode. This mode skips all verification and compilation. Public bug: https://code.google.com/p/android/issues/detail?id=67664 Change-Id: Idd00ab8e9e46d129c02988b063c41a507e07bf5b
diff --git a/compiler/dex/mir_analysis.cc b/compiler/dex/mir_analysis.cc index b96c40d..200795e 100644 --- a/compiler/dex/mir_analysis.cc +++ b/compiler/dex/mir_analysis.cc
@@ -1013,7 +1013,7 @@ return true; } - if (compiler_filter == CompilerOptions::kInterpretOnly || compiler_filter == CompilerOptions::kProfiled) { + if (!compiler_options.IsCompilationEnabled() || compiler_filter == CompilerOptions::kProfiled) { return true; }