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

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

Issue 1498833002: Move machine-type.h from src/compiler to src/. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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-operator.h" 7 #include "src/compiler/machine-operator.h"
8 #include "src/compiler/machine-type.h"
9 #include "src/compiler/operator.h" 8 #include "src/compiler/operator.h"
10 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 #include "src/machine-type.h"
11 #include "test/unittests/compiler/graph-reducer-unittest.h" 11 #include "test/unittests/compiler/graph-reducer-unittest.h"
12 #include "test/unittests/compiler/graph-unittest.h" 12 #include "test/unittests/compiler/graph-unittest.h"
13 #include "test/unittests/compiler/node-test-utils.h" 13 #include "test/unittests/compiler/node-test-utils.h"
14 14
15 using testing::StrictMock; 15 using testing::StrictMock;
16 16
17 namespace v8 { 17 namespace v8 {
18 namespace internal { 18 namespace internal {
19 namespace compiler { 19 namespace compiler {
20 20
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 Node* select = 606 Node* select =
607 graph()->NewNode(common()->Select(kMachFloat64), check, p0, p1); 607 graph()->NewNode(common()->Select(kMachFloat64), check, p0, p1);
608 Reduction r = Reduce(select, MachineOperatorBuilder::kFloat64Min); 608 Reduction r = Reduce(select, MachineOperatorBuilder::kFloat64Min);
609 ASSERT_TRUE(r.Changed()); 609 ASSERT_TRUE(r.Changed());
610 EXPECT_THAT(r.replacement(), IsFloat64Min(p0, p1)); 610 EXPECT_THAT(r.replacement(), IsFloat64Min(p0, p1));
611 } 611 }
612 612
613 } // namespace compiler 613 } // namespace compiler
614 } // namespace internal 614 } // namespace internal
615 } // namespace v8 615 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-native-calls.cc ('k') | test/unittests/compiler/node-test-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698