diff options
Diffstat (limited to 'compiler/dex')
-rw-r--r-- | compiler/dex/verified_method.cc | 1 | ||||
-rw-r--r-- | compiler/dex/verified_method.h | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/compiler/dex/verified_method.cc b/compiler/dex/verified_method.cc index 7746221..5b90ba9 100644 --- a/compiler/dex/verified_method.cc +++ b/compiler/dex/verified_method.cc @@ -40,7 +40,6 @@ namespace art { const VerifiedMethod* VerifiedMethod::Create(verifier::MethodVerifier* method_verifier, bool compile) { std::unique_ptr<VerifiedMethod> verified_method(new VerifiedMethod); - verified_method->has_verification_failures_ = method_verifier->HasFailures(); if (compile) { /* Generate a register map. */ if (!verified_method->GenerateGcMap(method_verifier)) { diff --git a/compiler/dex/verified_method.h b/compiler/dex/verified_method.h index 437ae52..954cbf4 100644 --- a/compiler/dex/verified_method.h +++ b/compiler/dex/verified_method.h @@ -70,11 +70,6 @@ class VerifiedMethod { // by using the check-cast elision peephole optimization in the verifier. bool IsSafeCast(uint32_t pc) const; - // Returns true if there were any errors during verification. - bool HasVerificationFailures() const { - return has_verification_failures_; - } - private: VerifiedMethod() = default; @@ -112,8 +107,6 @@ class VerifiedMethod { // dex PC to dex method index or dex field index based on the instruction. DequickenMap dequicken_map_; SafeCastSet safe_cast_set_; - - bool has_verification_failures_; }; } // namespace art |