diff options
author | 2014-12-11 14:34:28 -0800 | |
---|---|---|
committer | 2014-12-12 09:33:34 -0800 | |
commit | 956af0f0cb05422e38c1d22cbef309d16b8a1a12 (patch) | |
tree | b558c804d206dad8da648b815750f1b3c97610ae /compiler/dex/verification_results.cc | |
parent | 407d77f344cfbdbbfb50531c5f0766bc0892e2fe (diff) |
Remove portable.
Change-Id: I3bf3250fa866fd2265f1b115d52fa5dedc48a7fc
Diffstat (limited to 'compiler/dex/verification_results.cc')
-rw-r--r-- | compiler/dex/verification_results.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/compiler/dex/verification_results.cc b/compiler/dex/verification_results.cc index 932a532e56..60d24068b1 100644 --- a/compiler/dex/verification_results.cc +++ b/compiler/dex/verification_results.cc @@ -106,18 +106,8 @@ bool VerificationResults::IsClassRejected(ClassReference ref) { return (rejected_classes_.find(ref) != rejected_classes_.end()); } -bool VerificationResults::IsCandidateForCompilation(MethodReference& method_ref, +bool VerificationResults::IsCandidateForCompilation(MethodReference&, const uint32_t access_flags) { -#ifdef ART_SEA_IR_MODE - bool use_sea = compiler_options_->GetSeaIrMode(); - use_sea = use_sea && (std::string::npos != PrettyMethod( - method_ref.dex_method_index, *(method_ref.dex_file)).find("fibonacci")); - if (use_sea) { - return true; - } -#else - UNUSED(method_ref); -#endif if (!compiler_options_->IsCompilationEnabled()) { return false; } |