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/change-lowering.h" | 5 #include "src/compiler/change-lowering.h" |
| 6 #include "src/compiler/compiler-test-utils.h" |
6 #include "src/compiler/graph-unittest.h" | 7 #include "src/compiler/graph-unittest.h" |
7 #include "src/compiler/js-graph.h" | 8 #include "src/compiler/js-graph.h" |
8 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
9 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
10 #include "src/compiler/typer.h" | 11 #include "src/compiler/typer.h" |
11 #include "testing/gmock-support.h" | 12 #include "testing/gmock-support.h" |
12 | 13 |
13 using testing::_; | 14 using testing::_; |
14 using testing::AllOf; | 15 using testing::AllOf; |
15 using testing::Capture; | 16 using testing::Capture; |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 IsIfTrue(AllOf(CaptureEq(&branch), | 458 IsIfTrue(AllOf(CaptureEq(&branch), |
458 IsBranch(IsUint32LessThanOrEqual( | 459 IsBranch(IsUint32LessThanOrEqual( |
459 val, IsInt32Constant(SmiMaxValue())), | 460 val, IsInt32Constant(SmiMaxValue())), |
460 graph()->start()))), | 461 graph()->start()))), |
461 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); | 462 AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch)))))); |
462 } | 463 } |
463 | 464 |
464 } // namespace compiler | 465 } // namespace compiler |
465 } // namespace internal | 466 } // namespace internal |
466 } // namespace v8 | 467 } // namespace v8 |
OLD | NEW |