summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_checker.h
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2023-09-29 10:13:10 +0100
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-10-04 10:19:12 +0000
commitb9eca9375fcb9afbab4462f5671c7a67dbd38237 (patch)
tree2322379585c9ed05020cac28b67573ef8d607b7d /compiler/optimizing/graph_checker.h
parent599b2e5d64e3b04864a9e6daca74ae836b9353d4 (diff)
GraphChecker/Arena container cleanups
While working in aosp/2769298 I saw these opportunities for cleanups. Change-Id: Ie6c95b5521c4a8cbd3963a034e210860fb0b4ef0
Diffstat (limited to 'compiler/optimizing/graph_checker.h')
-rw-r--r--compiler/optimizing/graph_checker.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/optimizing/graph_checker.h b/compiler/optimizing/graph_checker.h
index 4dee42738e..aff2358411 100644
--- a/compiler/optimizing/graph_checker.h
+++ b/compiler/optimizing/graph_checker.h
@@ -108,7 +108,7 @@ class GraphChecker : public HGraphDelegateVisitor {
}
}
- protected:
+ private:
// Report a new error.
void AddError(const std::string& error) {
errors_.push_back(error);
@@ -119,7 +119,6 @@ class GraphChecker : public HGraphDelegateVisitor {
// Errors encountered while checking the graph.
ArenaVector<std::string> errors_;
- private:
void VisitReversePostOrder();
// Checks that the graph's flags are set correctly.