diff options
author | Roland Levillain <rpl@google.com> | 2018-08-24 17:19:07 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2018-08-28 11:09:40 +0100 |
commit | f73cacaae3d8f89327d8886b37792a849cabd9ac (patch) | |
tree | 79047e31d512d065db47af7e68fa155c1f638f11 /runtime/verifier | |
parent | bbc6e7edb5fca4a61ac53dd9bce79cb4f0bb3403 (diff) | |
download | art-f73cacaae3d8f89327d8886b37792a849cabd9ac.tar.gz art-f73cacaae3d8f89327d8886b37792a849cabd9ac.tar.bz2 art-f73cacaae3d8f89327d8886b37792a849cabd9ac.zip |
Remove superfluous 'virtual' specifiers in ART.
Remove 'virtual' specifier on methods already bearing the 'override'
specifier.
Test: mmma art
Change-Id: I114930969a5ca048d88de9ecd18e2c6403593e31
Diffstat (limited to 'runtime/verifier')
-rw-r--r-- | runtime/verifier/reg_type.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/verifier/reg_type.h b/runtime/verifier/reg_type.h index 04a7dfba66..3099b231e2 100644 --- a/runtime/verifier/reg_type.h +++ b/runtime/verifier/reg_type.h @@ -699,7 +699,7 @@ class DoubleLoType final : public Cat2Type { class DoubleHiType final : public Cat2Type { public: std::string Dump() const override REQUIRES_SHARED(Locks::mutator_lock_); - virtual bool IsDoubleHi() const override { return true; } + bool IsDoubleHi() const override { return true; } static const DoubleHiType* CreateInstance(ObjPtr<mirror::Class> klass, const StringPiece& descriptor, uint16_t cache_id) @@ -772,7 +772,7 @@ class ConstantType : public RegType { ConstantValue() >= std::numeric_limits<int16_t>::min() && ConstantValue() <= std::numeric_limits<int16_t>::max(); } - virtual bool IsConstantTypes() const override { return true; } + bool IsConstantTypes() const override { return true; } AssignmentType GetAssignmentTypeImpl() const override { return AssignmentType::kNotAssignable; @@ -993,7 +993,7 @@ class UninitializedThisReferenceType final : public UninitializedType { CheckConstructorInvariants(this); } - virtual bool IsUninitializedThisReference() const override { return true; } + bool IsUninitializedThisReference() const override { return true; } bool HasClassVirtual() const override { return true; } |