summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/parallel_move_test.cc
diff options
context:
space:
mode:
authorAlexandre Rames <alexandre.rames@arm.com>2015-03-06 13:55:35 +0000
committerAlexandre Rames <alexandre.rames@arm.com>2015-03-06 14:15:57 +0000
commit2ed20afc6a1032e9e0cf919cb8d1b2b41e147182 (patch)
tree169a7bf67d0431922896fe91db3f34a03b786ad7 /compiler/optimizing/parallel_move_test.cc
parentb341b70b2418922d9b792cdba96d22bece87c55a (diff)
downloadart-2ed20afc6a1032e9e0cf919cb8d1b2b41e147182.zip
art-2ed20afc6a1032e9e0cf919cb8d1b2b41e147182.tar.gz
art-2ed20afc6a1032e9e0cf919cb8d1b2b41e147182.tar.bz2
Opt compiler: Clean the use of `virtual` and `OVERRIDE`.
Change-Id: I806ec522b979334cee8f344fc95e8660c019160a
Diffstat (limited to 'compiler/optimizing/parallel_move_test.cc')
-rw-r--r--compiler/optimizing/parallel_move_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/optimizing/parallel_move_test.cc b/compiler/optimizing/parallel_move_test.cc
index 44a3da2..817a44b 100644
--- a/compiler/optimizing/parallel_move_test.cc
+++ b/compiler/optimizing/parallel_move_test.cc
@@ -36,7 +36,7 @@ class TestParallelMoveResolver : public ParallelMoveResolver {
}
}
- virtual void EmitMove(size_t index) {
+ void EmitMove(size_t index) OVERRIDE {
MoveOperands* move = moves_.Get(index);
if (!message_.str().empty()) {
message_ << " ";
@@ -48,7 +48,7 @@ class TestParallelMoveResolver : public ParallelMoveResolver {
message_ << ")";
}
- virtual void EmitSwap(size_t index) {
+ void EmitSwap(size_t index) OVERRIDE {
MoveOperands* move = moves_.Get(index);
if (!message_.str().empty()) {
message_ << " ";
@@ -60,8 +60,8 @@ class TestParallelMoveResolver : public ParallelMoveResolver {
message_ << ")";
}
- virtual void SpillScratch(int reg ATTRIBUTE_UNUSED) {}
- virtual void RestoreScratch(int reg ATTRIBUTE_UNUSED) {}
+ void SpillScratch(int reg ATTRIBUTE_UNUSED) OVERRIDE {}
+ void RestoreScratch(int reg ATTRIBUTE_UNUSED) OVERRIDE {}
std::string GetMessage() const {
return message_.str();