diff options
author | 2023-04-05 09:43:21 +0200 | |
---|---|---|
committer | 2023-04-05 09:48:42 +0200 | |
commit | 30759fafda169202ffa03a9373894f6b7c19079c (patch) | |
tree | 8ad1878092726e094226c25b4cf3affffa9c56de /compiler/optimizing/bounds_check_elimination.cc | |
parent | a7ad4d81babac2c423b50d8c9f9f5fd51a09db78 (diff) |
Mark graph visitor classes as final.
This should improve optimization opportunities for clang++.
Test: buildbot-build.sh
Change-Id: Ib0c1ebfb157176a9063cca2ed465cff6fb280442
Diffstat (limited to 'compiler/optimizing/bounds_check_elimination.cc')
-rw-r--r-- | compiler/optimizing/bounds_check_elimination.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/bounds_check_elimination.cc b/compiler/optimizing/bounds_check_elimination.cc index 210f978cc2..919abfdc49 100644 --- a/compiler/optimizing/bounds_check_elimination.cc +++ b/compiler/optimizing/bounds_check_elimination.cc @@ -490,7 +490,7 @@ class MonotonicValueRange : public ValueRange { DISALLOW_COPY_AND_ASSIGN(MonotonicValueRange); }; -class BCEVisitor : public HGraphVisitor { +class BCEVisitor final : public HGraphVisitor { public: // The least number of bounds checks that should be eliminated by triggering // the deoptimization technique. |