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/linkage.h" | 13 #include "src/compiler/linkage.h" |
14 #include "src/compiler/node-matchers.h" | 14 #include "src/compiler/node-matchers.h" |
15 #include "src/compiler/node-properties.h" | 15 #include "src/compiler/node-properties.h" |
16 #include "src/compiler/operator-properties.h" | 16 #include "src/compiler/operator-properties.h" |
17 #include "src/compiler/representation-change.h" | 17 #include "src/compiler/representation-change.h" |
18 #include "src/compiler/simplified-lowering.h" | |
19 #include "src/compiler/simplified-operator.h" | 18 #include "src/compiler/simplified-operator.h" |
20 #include "src/compiler/source-position.h" | 19 #include "src/compiler/source-position.h" |
21 #include "src/objects.h" | 20 #include "src/objects.h" |
22 | 21 |
23 namespace v8 { | 22 namespace v8 { |
24 namespace internal { | 23 namespace internal { |
25 namespace compiler { | 24 namespace compiler { |
26 | 25 |
27 // Macro for outputting trace information from representation inference. | 26 // Macro for outputting trace information from representation inference. |
28 #define TRACE(...) \ | 27 #define TRACE(...) \ |
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1658 | 1657 |
1659 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { | 1658 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { |
1660 node->set_op(machine()->IntLessThanOrEqual()); | 1659 node->set_op(machine()->IntLessThanOrEqual()); |
1661 node->ReplaceInput(0, StringComparison(node, true)); | 1660 node->ReplaceInput(0, StringComparison(node, true)); |
1662 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); | 1661 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); |
1663 } | 1662 } |
1664 | 1663 |
1665 } // namespace compiler | 1664 } // namespace compiler |
1666 } // namespace internal | 1665 } // namespace internal |
1667 } // namespace v8 | 1666 } // namespace v8 |
OLD | NEW |