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

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

Issue 1321223002: [turbofan] Remove obsolete unique.h includes in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-isolate-2
Patch Set: Rebased. Created 5 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
« no previous file with comments | « test/unittests/compiler/node-test-utils.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/access-builder.h" 5 #include "src/compiler/access-builder.h"
6 #include "src/compiler/js-graph.h" 6 #include "src/compiler/js-graph.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 #include "src/compiler/simplified-operator.h" 8 #include "src/compiler/simplified-operator.h"
9 #include "src/compiler/simplified-operator-reducer.h" 9 #include "src/compiler/simplified-operator-reducer.h"
10 #include "src/conversions.h" 10 #include "src/conversions-inl.h"
11 #include "src/types.h" 11 #include "src/types.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 #include "testing/gmock-support.h" 14 #include "testing/gmock-support.h"
15 15
16 using testing::BitEq; 16 using testing::BitEq;
17 17
18 18
19 namespace v8 { 19 namespace v8 {
20 namespace internal { 20 namespace internal {
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 Reduce(graph()->NewNode(simplified()->ChangeUint32ToTagged(), 396 Reduce(graph()->NewNode(simplified()->ChangeUint32ToTagged(),
397 Int32Constant(bit_cast<int32_t>(n)))); 397 Int32Constant(bit_cast<int32_t>(n))));
398 ASSERT_TRUE(reduction.Changed()); 398 ASSERT_TRUE(reduction.Changed());
399 EXPECT_THAT(reduction.replacement(), IsNumberConstant(BitEq(FastUI2D(n)))); 399 EXPECT_THAT(reduction.replacement(), IsNumberConstant(BitEq(FastUI2D(n))));
400 } 400 }
401 } 401 }
402 402
403 } // namespace compiler 403 } // namespace compiler
404 } // namespace internal 404 } // namespace internal
405 } // namespace v8 405 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler/node-test-utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698