| 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/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
| 6 #include "src/compiler/graph-inl.h" | 6 #include "src/compiler/graph-inl.h" |
| 7 #include "src/compiler/js-operator.h" | 7 #include "src/compiler/js-operator.h" |
| 8 #include "src/compiler/node.h" | 8 #include "src/compiler/node.h" |
| 9 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
| 10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
| (...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 Bounds Typer::Visitor::TypeFloat64LessThan(Node* node) { | 1547 Bounds Typer::Visitor::TypeFloat64LessThan(Node* node) { |
| 1548 return Bounds(Type::Boolean()); | 1548 return Bounds(Type::Boolean()); |
| 1549 } | 1549 } |
| 1550 | 1550 |
| 1551 | 1551 |
| 1552 Bounds Typer::Visitor::TypeFloat64LessThanOrEqual(Node* node) { | 1552 Bounds Typer::Visitor::TypeFloat64LessThanOrEqual(Node* node) { |
| 1553 return Bounds(Type::Boolean()); | 1553 return Bounds(Type::Boolean()); |
| 1554 } | 1554 } |
| 1555 | 1555 |
| 1556 | 1556 |
| 1557 Bounds Typer::Visitor::TypeFloat64Floor(Node* node) { |
| 1558 // TODO(sigurds): We could have a tighter bound here. |
| 1559 return Bounds(Type::Number()); |
| 1560 } |
| 1561 |
| 1562 |
| 1563 Bounds Typer::Visitor::TypeFloat64Ceil(Node* node) { |
| 1564 // TODO(sigurds): We could have a tighter bound here. |
| 1565 return Bounds(Type::Number()); |
| 1566 } |
| 1567 |
| 1568 |
| 1569 Bounds Typer::Visitor::TypeFloat64RoundAwayFromZero(Node* node) { |
| 1570 // TODO(sigurds): We could have a tighter bound here. |
| 1571 return Bounds(Type::Number()); |
| 1572 } |
| 1573 |
| 1574 |
| 1575 Bounds Typer::Visitor::TypeFloat64RoundToZero(Node* node) { |
| 1576 // TODO(sigurds): We could have a tighter bound here. |
| 1577 return Bounds(Type::Number()); |
| 1578 } |
| 1579 |
| 1580 |
| 1557 Bounds Typer::Visitor::TypeLoadStackPointer(Node* node) { | 1581 Bounds Typer::Visitor::TypeLoadStackPointer(Node* node) { |
| 1558 return Bounds(Type::Internal()); | 1582 return Bounds(Type::Internal()); |
| 1559 } | 1583 } |
| 1560 | 1584 |
| 1561 | 1585 |
| 1562 // Heap constants. | 1586 // Heap constants. |
| 1563 | 1587 |
| 1564 | 1588 |
| 1565 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { | 1589 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { |
| 1566 if (value->IsJSFunction()) { | 1590 if (value->IsJSFunction()) { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1635 return typer_->float64_array_fun_; | 1659 return typer_->float64_array_fun_; |
| 1636 } | 1660 } |
| 1637 } | 1661 } |
| 1638 } | 1662 } |
| 1639 return Type::Constant(value, zone()); | 1663 return Type::Constant(value, zone()); |
| 1640 } | 1664 } |
| 1641 | 1665 |
| 1642 } | 1666 } |
| 1643 } | 1667 } |
| 1644 } // namespace v8::internal::compiler | 1668 } // namespace v8::internal::compiler |
| OLD | NEW |