summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_test.cc
diff options
context:
space:
mode:
author Alexandre Rames <alexandre.rames@arm.com> 2015-03-06 13:55:35 +0000
committer Alexandre Rames <alexandre.rames@arm.com> 2015-03-06 14:15:57 +0000
commit2ed20afc6a1032e9e0cf919cb8d1b2b41e147182 (patch)
tree169a7bf67d0431922896fe91db3f34a03b786ad7 /compiler/optimizing/ssa_test.cc
parentb341b70b2418922d9b792cdba96d22bece87c55a (diff)
Opt compiler: Clean the use of `virtual` and `OVERRIDE`.
Change-Id: I806ec522b979334cee8f344fc95e8660c019160a
Diffstat (limited to 'compiler/optimizing/ssa_test.cc')
-rw-r--r--compiler/optimizing/ssa_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/optimizing/ssa_test.cc b/compiler/optimizing/ssa_test.cc
index 7fc1ec6dd1..a05b38c9eb 100644
--- a/compiler/optimizing/ssa_test.cc
+++ b/compiler/optimizing/ssa_test.cc
@@ -32,15 +32,15 @@ class SsaPrettyPrinter : public HPrettyPrinter {
public:
explicit SsaPrettyPrinter(HGraph* graph) : HPrettyPrinter(graph), str_("") {}
- virtual void PrintInt(int value) {
+ void PrintInt(int value) OVERRIDE {
str_ += StringPrintf("%d", value);
}
- virtual void PrintString(const char* value) {
+ void PrintString(const char* value) OVERRIDE {
str_ += value;
}
- virtual void PrintNewLine() {
+ void PrintNewLine() OVERRIDE {
str_ += '\n';
}
@@ -48,7 +48,7 @@ class SsaPrettyPrinter : public HPrettyPrinter {
std::string str() const { return str_; }
- virtual void VisitIntConstant(HIntConstant* constant) {
+ void VisitIntConstant(HIntConstant* constant) OVERRIDE {
PrintPreInstruction(constant);
str_ += constant->DebugName();
str_ += " ";