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

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

Issue 639293006: [turbofan] Move node matchers to separate file. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/base/division-by-constant.h" 6 #include "src/base/division-by-constant.h"
7 #include "src/compiler/js-graph.h" 7 #include "src/compiler/js-graph.h"
8 #include "src/compiler/machine-operator-reducer.h" 8 #include "src/compiler/machine-operator-reducer.h"
9 #include "src/compiler/typer.h" 9 #include "src/compiler/typer.h"
10 #include "test/unittests/compiler/graph-unittest.h" 10 #include "test/unittests/compiler/graph-unittest.h"
11 #include "test/unittests/compiler/node-test-utils.h"
11 #include "testing/gmock-support.h" 12 #include "testing/gmock-support.h"
12 13
13 using testing::AllOf; 14 using testing::AllOf;
14 using testing::Capture; 15 using testing::Capture;
15 using testing::CaptureEq; 16 using testing::CaptureEq;
16 17
17 namespace v8 { 18 namespace v8 {
18 namespace internal { 19 namespace internal {
19 namespace compiler { 20 namespace compiler {
20 21
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 Reduction r = Reduce(node); 916 Reduction r = Reduce(node);
916 ASSERT_TRUE(r.Changed()); 917 ASSERT_TRUE(r.Changed());
917 EXPECT_THAT(r.replacement(), 918 EXPECT_THAT(r.replacement(),
918 IsStore(rep, base, index, value, effect, control)); 919 IsStore(rep, base, index, value, effect, control));
919 } 920 }
920 } 921 }
921 922
922 } // namespace compiler 923 } // namespace compiler
923 } // namespace internal 924 } // namespace internal
924 } // namespace v8 925 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler/js-typed-lowering-unittest.cc ('k') | test/unittests/compiler/node-test-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698