| 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-inl.h" | 15 #include "src/compiler/node-properties.h" |
| 16 #include "src/compiler/operator-properties.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 { |
| 24 | 25 |
| 25 // Macro for outputting trace information from representation inference. | 26 // Macro for outputting trace information from representation inference. |
| (...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1513 | 1514 |
| 1514 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { | 1515 void SimplifiedLowering::DoStringLessThanOrEqual(Node* node) { |
| 1515 node->set_op(machine()->IntLessThanOrEqual()); | 1516 node->set_op(machine()->IntLessThanOrEqual()); |
| 1516 node->ReplaceInput(0, StringComparison(node, true)); | 1517 node->ReplaceInput(0, StringComparison(node, true)); |
| 1517 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); | 1518 node->ReplaceInput(1, jsgraph()->SmiConstant(EQUAL)); |
| 1518 } | 1519 } |
| 1519 | 1520 |
| 1520 } // namespace compiler | 1521 } // namespace compiler |
| 1521 } // namespace internal | 1522 } // namespace internal |
| 1522 } // namespace v8 | 1523 } // namespace v8 |
| OLD | NEW |