Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Side by Side Diff: test/unittests/compiler/common-operator-unittest.cc

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <limits> 5 #include <limits>
6 6
7 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "src/compiler/operator-properties.h" 10 #include "src/compiler/operator-properties.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 // ----------------------------------------------------------------------------- 117 // -----------------------------------------------------------------------------
118 // Other operators. 118 // Other operators.
119 119
120 120
121 namespace { 121 namespace {
122 122
123 class CommonOperatorTest : public TestWithZone { 123 class CommonOperatorTest : public TestWithZone {
124 public: 124 public:
125 CommonOperatorTest() : common_(zone()) {} 125 CommonOperatorTest() : common_(zone()) {}
126 ~CommonOperatorTest() OVERRIDE {} 126 ~CommonOperatorTest() override {}
127 127
128 CommonOperatorBuilder* common() { return &common_; } 128 CommonOperatorBuilder* common() { return &common_; }
129 129
130 private: 130 private:
131 CommonOperatorBuilder common_; 131 CommonOperatorBuilder common_;
132 }; 132 };
133 133
134 134
135 const int kArguments[] = {1, 5, 6, 42, 100, 10000, 65000}; 135 const int kArguments[] = {1, 5, 6, 42, 100, 10000, 65000};
136 136
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 EXPECT_EQ(arguments + 1, OperatorProperties::GetTotalInputCount(op)); 339 EXPECT_EQ(arguments + 1, OperatorProperties::GetTotalInputCount(op));
340 EXPECT_EQ(0, op->ControlOutputCount()); 340 EXPECT_EQ(0, op->ControlOutputCount());
341 EXPECT_EQ(0, op->EffectOutputCount()); 341 EXPECT_EQ(0, op->EffectOutputCount());
342 EXPECT_EQ(1, op->ValueOutputCount()); 342 EXPECT_EQ(1, op->ValueOutputCount());
343 } 343 }
344 } 344 }
345 345
346 } // namespace compiler 346 } // namespace compiler
347 } // namespace internal 347 } // namespace internal
348 } // namespace v8 348 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698