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

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

Issue 838783002: [turbofan] Cleanup Graph and related classes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Parameter pack causes compile errors. Created 5 years, 11 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 "src/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/common-operator-reducer.h" 6 #include "src/compiler/common-operator-reducer.h"
7 #include "src/compiler/machine-type.h" 7 #include "src/compiler/machine-type.h"
8 #include "src/compiler/operator.h"
8 #include "test/unittests/compiler/graph-unittest.h" 9 #include "test/unittests/compiler/graph-unittest.h"
9 10
10 namespace v8 { 11 namespace v8 {
11 namespace internal { 12 namespace internal {
12 namespace compiler { 13 namespace compiler {
13 14
14 class CommonOperatorReducerTest : public GraphTest { 15 class CommonOperatorReducerTest : public GraphTest {
15 public: 16 public:
16 explicit CommonOperatorReducerTest(int num_parameters = 1) 17 explicit CommonOperatorReducerTest(int num_parameters = 1)
17 : GraphTest(num_parameters) {} 18 : GraphTest(num_parameters) {}
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 graph()->NewNode(common()->Select(type, hint), input, input, input)); 102 graph()->NewNode(common()->Select(type, hint), input, input, input));
102 ASSERT_TRUE(r.Changed()); 103 ASSERT_TRUE(r.Changed());
103 EXPECT_EQ(input, r.replacement()); 104 EXPECT_EQ(input, r.replacement());
104 } 105 }
105 } 106 }
106 } 107 }
107 108
108 } // namespace compiler 109 } // namespace compiler
109 } // namespace internal 110 } // namespace internal
110 } // namespace v8 111 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-node-cache.cc ('k') | test/unittests/compiler/graph-reducer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698