OLD | NEW |
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/js-builtin-reducer.h" | 5 #include "src/compiler/js-builtin-reducer.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/typer.h" | 8 #include "src/compiler/typer.h" |
| 9 #include "src/isolate-inl.h" |
9 #include "test/unittests/compiler/graph-unittest.h" | 10 #include "test/unittests/compiler/graph-unittest.h" |
10 #include "test/unittests/compiler/node-test-utils.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::BitEq; | 14 using testing::BitEq; |
14 using testing::Capture; | 15 using testing::Capture; |
15 | 16 |
16 namespace v8 { | 17 namespace v8 { |
17 namespace internal { | 18 namespace internal { |
18 namespace compiler { | 19 namespace compiler { |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 196 |
196 ASSERT_TRUE(r.Changed()); | 197 ASSERT_TRUE(r.Changed()); |
197 EXPECT_THAT(r.replacement(), IsTruncateFloat64ToFloat32(p0)); | 198 EXPECT_THAT(r.replacement(), IsTruncateFloat64ToFloat32(p0)); |
198 } | 199 } |
199 } | 200 } |
200 } | 201 } |
201 | 202 |
202 } // namespace compiler | 203 } // namespace compiler |
203 } // namespace internal | 204 } // namespace internal |
204 } // namespace v8 | 205 } // namespace v8 |
OLD | NEW |