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

Side by Side Diff: src/compiler/machine-operator-reducer-unittest.cc

Issue 530693002: [turbofan] Merge compiler unit tests into src. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
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 "src/base/bits.h" 5 #include "src/base/bits.h"
6 #include "src/compiler/graph-unittest.h"
6 #include "src/compiler/machine-operator-reducer.h" 7 #include "src/compiler/machine-operator-reducer.h"
7 #include "test/compiler-unittests/graph-unittest.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
11 namespace compiler { 11 namespace compiler {
12 12
13 class MachineOperatorReducerTest : public GraphTest { 13 class MachineOperatorReducerTest : public GraphTest {
14 public: 14 public:
15 explicit MachineOperatorReducerTest(int num_parameters = 2) 15 explicit MachineOperatorReducerTest(int num_parameters = 2)
16 : GraphTest(num_parameters), machine_(zone()) {} 16 : GraphTest(num_parameters), machine_(zone()) {}
17 virtual ~MachineOperatorReducerTest() {} 17 virtual ~MachineOperatorReducerTest() {}
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 EXPECT_TRUE(reduction.Changed()); 434 EXPECT_TRUE(reduction.Changed());
435 EXPECT_THAT(reduction.replacement(), 435 EXPECT_THAT(reduction.replacement(),
436 IsInt32Constant(base::bits::RotateRight32(x, y))); 436 IsInt32Constant(base::bits::RotateRight32(x, y)));
437 } 437 }
438 } 438 }
439 } 439 }
440 440
441 } // namespace compiler 441 } // namespace compiler
442 } // namespace internal 442 } // namespace internal
443 } // namespace v8 443 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector-unittest.cc ('k') | src/compiler/machine-operator-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698