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/simplified-lowering.h" | 5 #include "src/compiler/simplified-lowering.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
11 #include "src/compiler/common-operator.h" | 11 #include "src/compiler/common-operator.h" |
12 #include "src/compiler/diamond.h" | 12 #include "src/compiler/diamond.h" |
13 #include "src/compiler/graph-inl.h" | 13 #include "src/compiler/graph-inl.h" |
| 14 #include "src/compiler/linkage.h" |
14 #include "src/compiler/node-matchers.h" | 15 #include "src/compiler/node-matchers.h" |
15 #include "src/compiler/node-properties-inl.h" | 16 #include "src/compiler/node-properties-inl.h" |
16 #include "src/compiler/representation-change.h" | 17 #include "src/compiler/representation-change.h" |
17 #include "src/compiler/simplified-lowering.h" | 18 #include "src/compiler/simplified-lowering.h" |
18 #include "src/compiler/simplified-operator.h" | 19 #include "src/compiler/simplified-operator.h" |
19 #include "src/objects.h" | 20 #include "src/objects.h" |
20 | 21 |
21 namespace v8 { | 22 namespace v8 { |
22 namespace internal { | 23 namespace internal { |
23 namespace compiler { | 24 namespace compiler { |
(...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1476 | 1477 |
1477 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { | 1478 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { |
1478 node->set_op(machine()->IntLessThanOrEqual()); | 1479 node->set_op(machine()->IntLessThanOrEqual()); |
1479 node->ReplaceInput(0, StringComparison(node, true)); | 1480 node->ReplaceInput(0, StringComparison(node, true)); |
1480 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); | 1481 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); |
1481 } | 1482 } |
1482 | 1483 |
1483 } // namespace compiler | 1484 } // namespace compiler |
1484 } // namespace internal | 1485 } // namespace internal |
1485 } // namespace v8 | 1486 } // namespace v8 |
OLD | NEW |